Skip to content

Commit

Permalink
chore: add issue templates (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jun 28, 2024
1 parent f29941e commit 282887c
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 0 deletions.
128 changes: 128 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: 🐞 Bug Report
description: Create a report to help us improve.
labels: [bug]
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I'm using the latest releases.
required: true
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true
- label: Yes, I've included all information below (version, config, etc).
required: true

- type: dropdown
id: goos
attributes:
label: OS?
options:
- aix
- android
- darwin
- dragonfly
- freebsd
- illumos
- ios
- js
- linux
- netbsd
- openbsd
- plan9
- solaris
- wasip1
- windows
validations:
required: true

- type: dropdown
id: goarch
attributes:
label: Arch?
options:
- 'ppc64'
- '386'
- 'amd64'
- 'arm'
- 'arm64'
- 'riscv64'
- 'wasm'
- 'loong64'
- 'mips'
- 'mips64'
- 'mips64le'
- 'mipsle'
- 'ppc64le'
- s390x
validations:
required: true

- type: textarea
id: expected
attributes:
label: What did you expect to see?
placeholder: Description.
validations:
required: true

- type: textarea
id: current
attributes:
label: What did you see instead?
placeholder: Description.
validations:
required: true

- type: textarea
id: steps
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
render: console
placeholder: |-
```go
// Paste you code here.
```
validations:
required: true

- type: input
id: version
attributes:
label: Version of flock
validations:
required: true

- type: textarea
id: logs
attributes:
label: Logs
render: console
value: |-
<details>
```console
# paste output here
```
</details>
validations:
required: true

- type: textarea
id: go-env
attributes:
label: Go environment (if applicable)
value: |-
<details>
```console
$ go version && go env
# paste output here
```
</details>
validations:
required: false
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 💡 Feature request
description: Suggest an idea for this project.
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true

- type: textarea
id: description
attributes:
label: Detailed Description
placeholder: Description.
validations:
required: true

0 comments on commit 282887c

Please sign in to comment.