From 4a30e585f3132b6dd82341ad5328d2a66b2677f4 Mon Sep 17 00:00:00 2001 From: Anton Bracke Date: Sat, 11 Sep 2021 08:19:06 +0200 Subject: [PATCH 1/3] add new issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 69 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 47 +++++++++++++++ .github/issue_template.md | 0 .github/pull_request_template.md | 0 5 files changed, 124 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 .github/issue_template.md delete mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..5f3fc7d7f5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,69 @@ +# Credits to: https://github.com/vitejs/vite/blob/main/.github/ISSUE_TEMPLATE/bug_report.yml +name: "\U0001F41E Bug report" +description: Report an issue with Woodpecker +labels: ["pending triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: dropdown + id: component + attributes: + label: Component + description: Which component of Woodpecker is affected by the issue? + multiple: true + options: + - server + - agent + - cli + - web-ui + - other + validations: + required: true + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! + placeholder: Bug description + validations: + required: true + - type: textarea + id: system-info + attributes: + label: System Info + description: Output of `https:///version` + render: shell + placeholder: Version info, docker-compose config, Kubernetes manifests + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional context + description: | + Logs? Screenshots? Anything that will give us more context about the issue you are encountering! + Sometimes a picture is worth a thousand words, but please try not to insert an image of logs / text + and copy paste the text instead. + + Tip: You can attach images by clicking this area to highlight it and then dragging files in. + render: shell + validations: + required: false + - type: checkboxes + id: checkboxes + attributes: + label: Validations + description: Before submitting the issue, please make sure you do the following + options: + # - label: Follow our [Code of Conduct](https://github.com/woodpecker-ci/woodpecker/blob/master/CODE_OF_CONDUCT.md) + # required: true + - label: Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md). + required: true + - label: Read the [docs](https://woodpecker-ci.github.io/docs/intro). + required: true + - label: Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues?q=is%3Aopen+is%3Aissue+label%3Abug) that reports the same bug to avoid creating a duplicate. + required: true + - label: Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy). + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..3e4a4e9b4c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Questions & Discussions + url: https://discord.gg/fcMQqSMXJy + about: Ask questions and discuss with other Woodpecker users. + - name: Frequently Asked Questions + url: https://woodpecker-ci.github.io/docs/faq + about: Check the FAQs for common questions. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..89ad1bd06c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,47 @@ +# Credits to: https://github.com/vitejs/vite/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml +name: "\U0001F680 New feature proposal" +description: Propose a new feature to be added to Woodpecker +labels: ["enhancement: pending triage"] +body: + - type: markdown + attributes: + value: | + Thanks for your interest in the project and taking the time to fill out this feature report! + - type: textarea + id: feature-description + attributes: + label: Clear and concise description of the problem + description: "As a user of Woodpecker I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description." + validations: + required: true + - type: textarea + id: suggested-solution + attributes: + label: Suggested solution + description: "In web-ui / config we could provide following functionality..." + validations: + required: true + - type: textarea + id: alternative + attributes: + label: Alternative + description: Clear and concise description of any alternative solutions or features you've considered. + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Any other context or screenshots about the feature request here. + - type: checkboxes + id: checkboxes + attributes: + label: Validations + description: Before submitting the issue, please make sure you do the following + options: + # - label: Follow our [Code of Conduct](https://github.com/woodpecker-ci/woodpecker/blob/master/CODE_OF_CONDUCT.md) + # required: true + - label: Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md). + required: true + - label: Read the [docs](https://woodpecker-ci.github.io/docs/intro). + required: true + - label: Check that there isn't already an [issue](https://github.com/woodpecker-ci/woodpecker/issues?q=is%3Aopen++label%3Afeature%2Cenhancement+) that request the same feature to avoid creating a duplicate. + required: true diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index e69de29bb2..0000000000 From e3a04bdf5ca77f007915f9648539273e384a1512 Mon Sep 17 00:00:00 2001 From: Anton Bracke Date: Sat, 11 Sep 2021 08:22:28 +0200 Subject: [PATCH 2/3] adjust labels --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5f3fc7d7f5..07c3b39f64 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,7 +1,7 @@ # Credits to: https://github.com/vitejs/vite/blob/main/.github/ISSUE_TEMPLATE/bug_report.yml name: "\U0001F41E Bug report" description: Report an issue with Woodpecker -labels: ["pending triage"] +labels: ["pending:bug"] body: - type: markdown attributes: @@ -63,7 +63,7 @@ body: required: true - label: Read the [docs](https://woodpecker-ci.github.io/docs/intro). required: true - - label: Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues?q=is%3Aopen+is%3Aissue+label%3Abug) that reports the same bug to avoid creating a duplicate. + - label: Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate. required: true - label: Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy). required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 89ad1bd06c..49788718e3 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,7 +1,7 @@ # Credits to: https://github.com/vitejs/vite/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml name: "\U0001F680 New feature proposal" description: Propose a new feature to be added to Woodpecker -labels: ["enhancement: pending triage"] +labels: ["pending:feature"] body: - type: markdown attributes: @@ -43,5 +43,5 @@ body: required: true - label: Read the [docs](https://woodpecker-ci.github.io/docs/intro). required: true - - label: Check that there isn't already an [issue](https://github.com/woodpecker-ci/woodpecker/issues?q=is%3Aopen++label%3Afeature%2Cenhancement+) that request the same feature to avoid creating a duplicate. + - label: Check that there isn't already an [issue](https://github.com/woodpecker-ci/woodpecker/issues) that request the same feature to avoid creating a duplicate. required: true From 93aefd5bb693bc05f3319139b23431a67a7c2495 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 11 Sep 2021 18:16:42 +0200 Subject: [PATCH 3/3] blank issues still enabled --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3e4a4e9b4c..56bbee810a 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: false +blank_issues_enabled: true contact_links: - name: Questions & Discussions url: https://discord.gg/fcMQqSMXJy