Skip to content

Commit

Permalink
chore: add issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 7, 2022
1 parent c73fd3d commit 546215d
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,74 @@
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 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 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -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.
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,36 @@
name: Feature request
description: "Suggest an idea for this project."
labels: [enhancement]
body:

- 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

0 comments on commit 546215d

Please sign in to comment.