.github: add templates (#233)
This is based on Ebitengine's templates for a new issue and a new pull request.
- commit
- 042b20197425cc8a8d4b94518a19fe3723ff0096
- author
- Hajime Hoshi · · 2024-04-10 15:26 UTC
- committer
- GitHub · · 2024-04-10 15:26 UTC
- parent
- 0e63021
- signature
- GPG Unverified
B5690EEEBB952194The key is unknown - refs
- tag: v0.8.0-alpha.1
4 files · +99 -0
A .github/ISSUE_TEMPLATE/00-bug.yml +51 -0
| @@ -0,0 +1,51 @@ | |||
| 1 | + | name: Bug Report | |
| 2 | + | description: Report a bug you've found. | |
| 3 | + | labels: bug | |
| 4 | + | body: | |
| 5 | + | - type: input | |
| 6 | + | id: version_of_purego | |
| 7 | + | attributes: | |
| 8 | + | label: PureGo Version | |
| 9 | + | validations: | |
| 10 | + | required: true | |
| 11 | + | - type: checkboxes | |
| 12 | + | id: os | |
| 13 | + | attributes: | |
| 14 | + | label: Operating System | |
| 15 | + | options: | |
| 16 | + | - label: Windows | |
| 17 | + | - label: macOS | |
| 18 | + | - label: Linux | |
| 19 | + | - label: FreeBSD | |
| 20 | + | - label: Android | |
| 21 | + | - label: iOS | |
| 22 | + | validations: | |
| 23 | + | required: true | |
| 24 | + | - type: input | |
| 25 | + | id: version_of_go | |
| 26 | + | attributes: | |
| 27 | + | label: Go Version (`go version`) | |
| 28 | + | validations: | |
| 29 | + | required: true | |
| 30 | + | - type: textarea | |
| 31 | + | id: repro_steps | |
| 32 | + | attributes: | |
| 33 | + | label: What steps will reproduce the problem? | |
| 34 | + | validations: | |
| 35 | + | required: true | |
| 36 | + | - type: textarea | |
| 37 | + | id: expected_result | |
| 38 | + | attributes: | |
| 39 | + | label: What is the expected result? | |
| 40 | + | validations: | |
| 41 | + | required: true | |
| 42 | + | - type: textarea | |
| 43 | + | id: actual_result | |
| 44 | + | attributes: | |
| 45 | + | label: What happens instead? | |
| 46 | + | validations: | |
| 47 | + | required: true | |
| 48 | + | - type: textarea | |
| 49 | + | id: additional | |
| 50 | + | attributes: | |
| 51 | + | label: Anything else you feel useful to add? | |
| @@ -0,0 +1,51 @@ | |||||
| 1 | + | name: Bug Report | |||
| 2 | + | description: Report a bug you've found. | |||
| 3 | + | labels: bug | |||
| 4 | + | body: | |||
| 5 | + | - type: input | |||
| 6 | + | id: version_of_purego | |||
| 7 | + | attributes: | |||
| 8 | + | label: PureGo Version | |||
| 9 | + | validations: | |||
| 10 | + | required: true | |||
| 11 | + | - type: checkboxes | |||
| 12 | + | id: os | |||
| 13 | + | attributes: | |||
| 14 | + | label: Operating System | |||
| 15 | + | options: | |||
| 16 | + | - label: Windows | |||
| 17 | + | - label: macOS | |||
| 18 | + | - label: Linux | |||
| 19 | + | - label: FreeBSD | |||
| 20 | + | - label: Android | |||
| 21 | + | - label: iOS | |||
| 22 | + | validations: | |||
| 23 | + | required: true | |||
| 24 | + | - type: input | |||
| 25 | + | id: version_of_go | |||
| 26 | + | attributes: | |||
| 27 | + | label: Go Version (`go version`) | |||
| 28 | + | validations: | |||
| 29 | + | required: true | |||
| 30 | + | - type: textarea | |||
| 31 | + | id: repro_steps | |||
| 32 | + | attributes: | |||
| 33 | + | label: What steps will reproduce the problem? | |||
| 34 | + | validations: | |||
| 35 | + | required: true | |||
| 36 | + | - type: textarea | |||
| 37 | + | id: expected_result | |||
| 38 | + | attributes: | |||
| 39 | + | label: What is the expected result? | |||
| 40 | + | validations: | |||
| 41 | + | required: true | |||
| 42 | + | - type: textarea | |||
| 43 | + | id: actual_result | |||
| 44 | + | attributes: | |||
| 45 | + | label: What happens instead? | |||
| 46 | + | validations: | |||
| 47 | + | required: true | |||
| 48 | + | - type: textarea | |||
| 49 | + | id: additional | |||
| 50 | + | attributes: | |||
| 51 | + | label: Anything else you feel useful to add? | |||
A .github/ISSUE_TEMPLATE/01-feature.yml +29 -0
| @@ -0,0 +1,29 @@ | |||
| 1 | + | name: Feature Request | |
| 2 | + | description: Provide details about a feature you'd like to see. | |
| 3 | + | labels: | |
| 4 | + | - feature | |
| 5 | + | - request | |
| 6 | + | body: | |
| 7 | + | - type: checkboxes | |
| 8 | + | id: os | |
| 9 | + | attributes: | |
| 10 | + | label: Operating System | |
| 11 | + | options: | |
| 12 | + | - label: Windows | |
| 13 | + | - label: macOS | |
| 14 | + | - label: Linux | |
| 15 | + | - label: FreeBSD | |
| 16 | + | - label: Android | |
| 17 | + | - label: iOS | |
| 18 | + | validations: | |
| 19 | + | required: true | |
| 20 | + | - type: textarea | |
| 21 | + | id: what | |
| 22 | + | attributes: | |
| 23 | + | label: What feature would you like to be added? | |
| 24 | + | validations: | |
| 25 | + | required: true | |
| 26 | + | - type: textarea | |
| 27 | + | id: why | |
| 28 | + | attributes: | |
| 29 | + | label: Why is this needed? | |
| @@ -0,0 +1,29 @@ | |||||
| 1 | + | name: Feature Request | |||
| 2 | + | description: Provide details about a feature you'd like to see. | |||
| 3 | + | labels: | |||
| 4 | + | - feature | |||
| 5 | + | - request | |||
| 6 | + | body: | |||
| 7 | + | - type: checkboxes | |||
| 8 | + | id: os | |||
| 9 | + | attributes: | |||
| 10 | + | label: Operating System | |||
| 11 | + | options: | |||
| 12 | + | - label: Windows | |||
| 13 | + | - label: macOS | |||
| 14 | + | - label: Linux | |||
| 15 | + | - label: FreeBSD | |||
| 16 | + | - label: Android | |||
| 17 | + | - label: iOS | |||
| 18 | + | validations: | |||
| 19 | + | required: true | |||
| 20 | + | - type: textarea | |||
| 21 | + | id: what | |||
| 22 | + | attributes: | |||
| 23 | + | label: What feature would you like to be added? | |||
| 24 | + | validations: | |||
| 25 | + | required: true | |||
| 26 | + | - type: textarea | |||
| 27 | + | id: why | |||
| 28 | + | attributes: | |||
| 29 | + | label: Why is this needed? | |||
A .github/ISSUE_TEMPLATE/config.yml +5 -0
| @@ -0,0 +1,5 @@ | |||
| 1 | + | blank_issues_enabled: false | |
| 2 | + | contact_links: | |
| 3 | + | - name: Questions | |
| 4 | + | about: Please use one of the forums for questions or general discussions | |
| 5 | + | url: https://github.com/ebitengine/purego/discussions | |
| @@ -0,0 +1,5 @@ | |||||
| 1 | + | blank_issues_enabled: false | |||
| 2 | + | contact_links: | |||
| 3 | + | - name: Questions | |||
| 4 | + | about: Please use one of the forums for questions or general discussions | |||
| 5 | + | url: https://github.com/ebitengine/purego/discussions | |||
A .github/PULL_REQUEST_TEMPLATE.md +14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | + | <!-- | |
| 2 | + | Thanks for sending a pull request! | |
| 3 | + | Please adhere to our Code of Conduct: | |
| 4 | + | https://go.dev/conduct | |
| 5 | + | --> | |
| 6 | + | ||
| 7 | + | # What issue is this addressing? | |
| 8 | + | <!-- Closes #<issue number> | Updates #<issue number> --> | |
| 9 | + | ||
| 10 | + | ## What _type_ of issue is this addressing? | |
| 11 | + | <!-- bug | feature | security --> | |
| 12 | + | ||
| 13 | + | ## What this PR does | solves | |
| 14 | + | <!-- Please be as descriptive as possible --> | |
| @@ -0,0 +1,14 @@ | |||||
| 1 | + | <!-- | |||
| 2 | + | Thanks for sending a pull request! | |||
| 3 | + | Please adhere to our Code of Conduct: | |||
| 4 | + | https://go.dev/conduct | |||
| 5 | + | --> | |||
| 6 | + | ||||
| 7 | + | # What issue is this addressing? | |||
| 8 | + | <!-- Closes #<issue number> | Updates #<issue number> --> | |||
| 9 | + | ||||
| 10 | + | ## What _type_ of issue is this addressing? | |||
| 11 | + | <!-- bug | feature | security --> | |||
| 12 | + | ||||
| 13 | + | ## What this PR does | solves | |||
| 14 | + | <!-- Please be as descriptive as possible --> | |||