1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-04 23:26:09 +02:00

docs: improve issue templates

basically copied and modified from goreleaser
This commit is contained in:
Carlos A Becker 2022-02-07 14:32:20 -03:00
parent 28f96c7ae0
commit 4925c2d3a9
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
4 changed files with 113 additions and 16 deletions

View File

@ -1,16 +0,0 @@
⚠️ Attention points before opening the issue:
* if you're using nfpm through GoReleaser, open the issue in the
[GoReleaser repo](https://github.com/goreleaser/goreleaser);
* make sure there isn't an issue already about what you need;
* if you have a question, try the [#goreleaser channel](https://gophers.slack.com/messages/goreleaser)
on Slack (join via [this link](https://invite.slack.golangbridge.org)) or on
[StackOverflow](https://stackoverflow.com/tags/goreleaser) first;
* make sure to read our
[Code of Conduct](https://github.com/goreleaser/goreleaser/blob/main/CODE_OF_CONDUCT.md).
---
Love goreleaser/nfpm? Please consider supporting our collective:
👉 https://opencollective.com/goreleaser/donate

54
.github/ISSUE_TEMPLATE/bug.yaml vendored Normal file
View File

@ -0,0 +1,54 @@
name: Bug Report
description: File a bug report
labels: [bug, triage]
assignees:
- caarlos0
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please fill the form below.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
validations:
required: true
- type: textarea
id: reproducible
attributes:
label: How can we reproduce this?
description: Please share a public repository that reproduces the issue, or an example config file.
validations:
required: true
- type: textarea
id: nfpm-version
attributes:
label: nfpm version
description: '`nfpm --version` output'
render: bash
validations:
required: true
- type: checkboxes
id: search
attributes:
label: Search
options:
- label: I did search for other open and closed issues before opening this.
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/goreleaser/.github/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
- type: textarea
id: ctx
attributes:
label: Additional context
description: Anything else you would like to add
validations:
required: false

6
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,6 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/goreleaser/goreleaser/discussions
about: Ask questions and discuss with other community members

53
.github/ISSUE_TEMPLATE/feature.yaml vendored Normal file
View File

@ -0,0 +1,53 @@
name: Feature Request
description: Request a new feature and/or enhancement to an existing feature
labels: [enhancement, triage]
assignees:
- caarlos0
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request! Please fill the form below.
- type: textarea
id: is-it-a-problem
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: checkboxes
id: search
attributes:
label: Search
options:
- label: I did search for other open and closed issues before opening this.
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/goreleaser/.github/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
- type: textarea
id: ctx
attributes:
label: Additional context
description: Anything else you would like to add
validations:
required: false