diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml new file mode 100644 index 000000000..69f6533a1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml @@ -0,0 +1,64 @@ +name: ๐Ÿž Bug Report +description: File a bug/issue +title: "[BUG] " +labels: [bug] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered ([BootstrapBlazor/issues](https://github.com/dotnetcore/BootstrapBlazor/issues?q=is%3Aissue)). + options: + - label: I have searched the existing issues + 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: Expected Behavior + description: A clear and concise description of what you expected to happen. + validations: + required: false +- type: textarea + attributes: + label: Steps To Reproduce + description: | + We โค code! Point us to a [minimalistic project which reproduces this issue (repro)](https://github.com/dotnet/aspnetcore/blob/main/docs/repro.md) hosted in a public GitHub repo. + + We will close this issue if: + - The repro project you share with us is complex. We can't investigate custom projects, so don't point us to such, please. + - If we will not be able to repro the behavior you're reporting. + - If the repro project is attached as a `.zip` file. + - If the GitHub repro project is set to `Private`. + validations: + required: false +- type: textarea + attributes: + label: Exceptions (if any) + description: Include the exception you get when facing this issue. + placeholder: + validations: + required: false +- type: input + attributes: + label: .NET Version + description: | + Run `dotnet --version` + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + - ASP.NET Core version: + - The IDE (VS / VS Code/ VS4Mac) you're running on, and its version: + - Include the output of `dotnet --info`: + + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/20_feature_request.yml b/.github/ISSUE_TEMPLATE/20_feature_request.yml new file mode 100644 index 000000000..1cf54a1fd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/20_feature_request.yml @@ -0,0 +1,31 @@ +name: ๐Ÿ’ก Feature Request +description: Suggest an idea for this project +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the feature you are requesting. (https://github.com/dotnetcore/BootstrapBlazor/issues). + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Is your feature request related to a problem? Please describe the problem. + description: A clear and concise description of what the problem is. + placeholder: I am trying to do [...] but [...] + validations: + required: false +- 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 diff --git a/.github/ISSUE_TEMPLATE/30_unit_test.yml b/.github/ISSUE_TEMPLATE/30_unit_test.yml new file mode 100644 index 000000000..fe6dd9e28 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/30_unit_test.yml @@ -0,0 +1,13 @@ +name: ๐Ÿงช Test +description: Unit test for this project +title: "test: <title>" +labels: [test] +assignees: + - argozhang +body: +- type: textarea + attributes: + label: Which class is this unit test associated with? + description: Add unit test for code coverage. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 481b61673..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: ๐Ÿž Bug report -about: Create a report about something that is not working ---- - - -### Describe the bug -A clear and concise description of what the bug is. - -### To Reproduce -<!-- -We โค code! Point us to a minimalistic repro project hosted in a GitHub repo. -For a repro project, create a new ASP.NET Core project using the template of your your choice, apply the minimum required code to result in the issue you're observing. - -We will close this issue if: -- the repro project you share with us is complex. We can't investigate custom projects, so don't point us to such, please. -- if we will not be able to repro the behavior you're reporting ---> - -### Exceptions (if any) -<!-- -Include the exception you get when facing this issue ---> - -### Further technical details -- BootstrapBlazor 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/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 4602e4078..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: ๐Ÿ’ก Feature request -about: Suggest an idea for this project ---- - -### Is your feature request related to a problem? Please describe. -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/workflows/auto_assign_milestone.yml b/.github/workflows/auto_assign_milestone.yml new file mode 100644 index 000000000..d1a20846d --- /dev/null +++ b/.github/workflows/auto_assign_milestone.yml @@ -0,0 +1,15 @@ +name: 'Auto Milestone Assign' + +on: + pull_request: + types: [opened] + +jobs: + assign-milestone: + runs-on: ubuntu-latest + + steps: + - uses: zoispag/action-assign-milestone@v1.1.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + milestone: "${{ secrets.MILESTONE_VERSION }}"