Skip to content

Commit d3a0412

Browse files
committed
dev: improve issue templates
1 parent 44b3cdd commit d3a0412

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ body:
1515
required: true
1616
- label: Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.). (https://golangci-lint.run/usage/linters/)
1717
required: true
18+
- label: I agree to follow this project's [Code of Conduct](https://github.com/golangci/golangci-lint?tab=coc-ov-file)
19+
required: true
1820

1921
- type: textarea
2022
id: problem
@@ -111,3 +113,10 @@ body:
111113
options:
112114
- label: Yes, I've included all information above (version, config, etc.).
113115
required: true
116+
117+
- type: checkboxes
118+
id: supporter
119+
attributes:
120+
label: Supporter
121+
options:
122+
- label: I am a sponsor/backer through [GitHub](https://github.com/sponsors/golangci/) or [OpenCollective](https://opencollective.com/golangci-lint)

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ description: "Suggest an idea for this project."
33
labels: [enhancement]
44
body:
55

6+
- type: checkboxes
7+
id: terms
8+
attributes:
9+
label: Welcome
10+
options:
11+
- label: Yes, I've searched similar issues on GitHub and didn't find any.
12+
required: true
13+
- label: I agree to follow this project's [Code of Conduct](https://github.com/golangci/golangci-lint?tab=coc-ov-file)
14+
required: true
15+
616
- type: textarea
717
id: problem
818
attributes:
@@ -34,3 +44,10 @@ body:
3444
placeholder: "Add any other context or screenshots about the feature request here."
3545
validations:
3646
required: false
47+
48+
- type: checkboxes
49+
id: supporter
50+
attributes:
51+
label: Supporter
52+
options:
53+
- label: I am a sponsor through [GitHub](https://github.com/sponsors/golangci/) or [OpenCollective](https://opencollective.com/golangci-lint)

0 commit comments

Comments
 (0)