Skip to content

Commit bda13fa

Browse files
committed
chore: add issue templates
1 parent c73fd3d commit bda13fa

File tree

3 files changed

+128
-0
lines changed

3 files changed

+128
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Bug Report
2+
description: "Create a report to help us improve."
3+
body:
4+
- type: checkboxes
5+
id: terms
6+
attributes:
7+
label: Welcome
8+
options:
9+
- label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
10+
required: true
11+
- label: Yes, I've searched similar issues on GitHub and didn't find any.
12+
required: true
13+
- label: Yes, I've included all information below (version, config, etc).
14+
required: true
15+
16+
- type: textarea
17+
id: problem
18+
attributes:
19+
label: Description of the problem
20+
placeholder: Your problem description
21+
validations:
22+
required: true
23+
24+
- type: input
25+
id: golangci-lint-version
26+
attributes:
27+
label: Version of golangci-lint
28+
validations:
29+
required: true
30+
31+
- type: input
32+
id: github-action-version
33+
attributes:
34+
label: Version of the GitHub Action
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: config
40+
attributes:
41+
label: Workflow file
42+
value: |-
43+
<details>
44+
45+
```
46+
<add you file here>
47+
```
48+
49+
</details>
50+
validations:
51+
required: true
52+
53+
- type: input
54+
id: go-env
55+
attributes:
56+
label: Go version
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: code-example
62+
attributes:
63+
label: Code example or link to a public repository
64+
value: |-
65+
<details>
66+
67+
```go
68+
// add your code here
69+
```
70+
71+
</details>
72+
validations:
73+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions
4+
url: https://github.com/golangci/golangci-lint-action/discussions
5+
about: If you have a question, or are looking for advice, please post on our Discussions forum!
6+
- name: golangci-lint main repository
7+
url: https://github.com/golangci/golangci-lint
8+
about: The main repository of golangci-lint.
9+
- name: golangci-lint documentation
10+
url: https://golangci-lint.run
11+
about: Please take a look to our documentation.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Feature request
2+
description: "Suggest an idea for this project."
3+
body:
4+
- type: checkboxes
5+
id: terms
6+
attributes:
7+
label: Welcome
8+
options:
9+
- label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
10+
required: true
11+
- label: Yes, I've searched similar issues on GitHub and didn't find any.
12+
required: true
13+
14+
- type: textarea
15+
id: problem
16+
attributes:
17+
label: Your feature request related to a problem? Please describe.
18+
placeholder: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: solution
24+
attributes:
25+
label: Describe the solution you'd like.
26+
placeholder: "A clear and concise description of what you want to happen."
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: alternatives
32+
attributes:
33+
label: Describe alternatives you've considered.
34+
placeholder: "A clear and concise description of any alternative solutions or features you've considered."
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: additional
40+
attributes:
41+
label: Additional context.
42+
placeholder: "Add any other context or screenshots about the feature request here."
43+
validations:
44+
required: false

0 commit comments

Comments
 (0)