diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 000000000..5e0fc6d99 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,26 @@ +name: "Bug report 🐛" +description: "If something isn't working as expected 🤔." +title: "[Bug]: " +labels: ["bug", "triage"] + +body: + - type: "textarea" + attributes: + label: "Summary" + description: "Please describe your problem here" + validations: + required: true + + - type: "textarea" + attributes: + label: "Code snippet that reproduces the problem" + description: | + Please provide a minimal code snippet that reproduces the problem. If you have a larger code example, + please provide a link to a repository or create a pull request that introduces a failing test case. + + - type: "textarea" + attributes: + label: "Expected output" + description: "What did you expect to happen?" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..ba2317084 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: "Support Question" + url: "https://github.com/orgs/phpDocumentor/discussions" + about: "We use GitHub issues only to discuss about bugs and new features. For this kind of questions about using the project, please use the discussions." diff --git a/.github/ISSUE_TEMPLATE/feature.yaml b/.github/ISSUE_TEMPLATE/feature.yaml new file mode 100644 index 000000000..828189c2f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yaml @@ -0,0 +1,11 @@ +name: "Feature request 🚀" +description: "I have a suggestion (and may want to implement it 🙂)!" +labels: ["feature", "triage"] + +body: + - type: "textarea" + attributes: + label: "Feature request" + description: "Please provide a clear description of what problem you are trying to solve and how would you want it to be solved." + validations: + required: true