chore: add issue templates

This commit is contained in:
Fernandez Ludovic 2022-09-07 03:32:48 +02:00
parent c73fd3d91c
commit bda13fa868
3 changed files with 128 additions and 0 deletions

73
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@ -0,0 +1,73 @@
name: Bug Report
description: "Create a report to help us improve."
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
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: textarea
id: problem
attributes:
label: Description of the problem
placeholder: Your problem description
validations:
required: true
- type: input
id: golangci-lint-version
attributes:
label: Version of golangci-lint
validations:
required: true
- type: input
id: github-action-version
attributes:
label: Version of the GitHub Action
validations:
required: true
- type: textarea
id: config
attributes:
label: Workflow file
value: |-
<details>
```
<add you file here>
```
</details>
validations:
required: true
- type: input
id: go-env
attributes:
label: Go version
validations:
required: true
- type: textarea
id: code-example
attributes:
label: Code example or link to a public repository
value: |-
<details>
```go
// add your code here
```
</details>
validations:
required: true

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

@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/golangci/golangci-lint-action/discussions
about: If you have a question, or are looking for advice, please post on our Discussions forum!
- name: golangci-lint main repository
url: https://github.com/golangci/golangci-lint
about: The main repository of golangci-lint.
- name: golangci-lint documentation
url: https://golangci-lint.run
about: Please take a look to our documentation.

View File

@ -0,0 +1,44 @@
name: Feature request
description: "Suggest an idea for this project."
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
required: true
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true
- type: textarea
id: problem
attributes:
label: Your feature request related to a problem? Please describe.
placeholder: "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.
placeholder: "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.
placeholder: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context.
placeholder: "Add any other context or screenshots about the feature request here."
validations:
required: false