diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 5464a43..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Report a bug (sponsors-only) -about: "Create a report about something that is not working properly. Note: tickets opened by non-sponsors will be automatically closed" -labels: bug ---- - -### Describe the bug -A clear and concise description of what the bug is. - -### To reproduce - - -### Exceptions (if any) - - -### Further technical details -- ASP.NET Core version. -- Include the output of `dotnet --info`. -- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..dbdaafa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,49 @@ +name: Report a bug (sponsors and contributors-only) +description: Create a report about something that is not working properly +labels: [bug] + +body: +- type: checkboxes + attributes: + label: Confirm you've already contributed to this project or that you sponsor it + description: "Note: tickets opened by non-sponsors/contributors will be automatically closed." + options: + - label: I confirm I'm a sponsor or a contributor + required: true + +- type: dropdown + id: version + attributes: + label: Version + description: What version of OpenIddict are you running? + options: + - 1.x (no longer supported) + - 2.x (no longer supported) + - 3.x + - 4.x (in preview) + validations: + required: true + +- type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + +- type: textarea + attributes: + label: To reproduce + description: | + We ❤ code! Ideally, please point us to a minimalistic repro project hosted in a GitHub repository. + For a repro project, create a new project and apply the minimum required code to result in the issue you're observing. + validations: + required: true + +- type: textarea + attributes: + label: Exceptions (if any) + description: Include the exception you get when facing this issue. + render: shell + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 700c563..7ee3366 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: true +blank_issues_enabled: false contact_links: - name: Sponsor the project url: https://github.com/sponsors/kevinchalet diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md deleted file mode 100644 index 2786269..0000000 --- a/.github/ISSUE_TEMPLATE/enhancement.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: Suggest an enhancement (sponsors-only) -about: "Suggest an idea for this project. Note: tickets opened by non-sponsors will be automatically closed" -labels: enhancement ---- - -### Is your feature request related to a problem? -A clear and concise description of what the problem is. -Example: I am trying to do [...] but [...]. - -### Describe the solution you'd like -A clear and concise description of what you want to happen. Include any alternative solutions you've considered. - -### Additional context -Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml new file mode 100644 index 0000000..965f605 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -0,0 +1,26 @@ +name: Suggest an enhancement (sponsors and contributors-only) +description: Suggest an idea for this project +labels: [enhancement] + +body: +- type: checkboxes + attributes: + label: Confirm you've already contributed to this project or that you sponsor it + description: "Note: tickets opened by non-sponsors/contributors will be automatically closed." + options: + - label: I confirm I'm a sponsor or a contributor + required: true + +- type: textarea + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. Include any alternative solutions you've considered. + validations: + required: true + +- type: textarea + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 1938d63..0000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -name: Ask a question or request support (sponsors-only) -about: "Ask a question about this project or request support. Note: tickets opened by non-sponsors will be automatically closed" -labels: question ---- \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..e4f6f25 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,32 @@ +name: Ask a question or request support (sponsors and contributors-only) +description: Ask a question about this project or request support +labels: [question] + +body: +- type: checkboxes + attributes: + label: Confirm you've already contributed to this project or that you sponsor it + description: "Note: tickets opened by non-sponsors/contributors will be automatically closed." + options: + - label: I confirm I'm a sponsor or a contributor + required: true + +- type: dropdown + id: version + attributes: + label: Version + description: What version of OpenIddict are you running? + options: + - 1.x (no longer supported) + - 2.x (no longer supported) + - 3.x + - 4.x (in preview) + validations: + required: true + +- type: textarea + attributes: + label: Question + description: Your question, including any technical information that may help answer your question. + validations: + required: true \ No newline at end of file