Skip to content

Commit 546215d

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

File tree

3 files changed

+121
-0
lines changed

3 files changed

+121
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

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

.github/ISSUE_TEMPLATE/config.yml

+11
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.
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Feature request
2+
description: "Suggest an idea for this project."
3+
labels: [enhancement]
4+
body:
5+
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Your feature request related to a problem? Please describe.
10+
placeholder: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: solution
16+
attributes:
17+
label: Describe the solution you'd like.
18+
placeholder: "A clear and concise description of what you want to happen."
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: alternatives
24+
attributes:
25+
label: Describe alternatives you've considered.
26+
placeholder: "A clear and concise description of any alternative solutions or features you've considered."
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: additional
32+
attributes:
33+
label: Additional context.
34+
placeholder: "Add any other context or screenshots about the feature request here."
35+
validations:
36+
required: false

0 commit comments

Comments
 (0)