From 03b1faa37ed78712fa70fc44b56fa553f0d7a6bc Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 6 May 2026 05:03:42 +0200 Subject: [PATCH] chore: improve issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 21 +++++++++++++++++++-- .github/ISSUE_TEMPLATE/feature_request.yml | 8 ++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9e3e403..89e0cbb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -10,8 +10,6 @@ body: 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 @@ -25,6 +23,7 @@ body: id: golangci-lint-version attributes: label: Version of golangci-lint + placeholder: golangci-lint has version 2.x.x built with go1.x.x from xxxx on xxxx-xx-xx validations: required: true @@ -32,6 +31,7 @@ body: id: github-action-version attributes: label: Version of the GitHub Action + placeholder: v9.2.0 validations: required: true @@ -69,6 +69,7 @@ body: id: go-env attributes: label: Go version + placeholder: go1.25.8 validations: required: true @@ -86,3 +87,19 @@ body: validations: required: true + + - type: checkboxes + id: validation + attributes: + label: Validation + options: + - label: Yes, I've included all the information above (example, version, config, etc.). + required: true + + - type: checkboxes + id: supporter + attributes: + label: Supporter + description: If you find golangci-lint valuable, consider [sponsoring the project](https://donate.golangci.org) to help sustain its development. 💛 + options: + - label: I am a [sponsor/backer](https://donate.golangci.org) of this project. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index c123454..d135ab5 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -42,3 +42,11 @@ body: placeholder: "Add any other context or screenshots about the feature request here." validations: required: false + + - type: checkboxes + id: supporter + attributes: + label: Supporter + description: If you find golangci-lint valuable, consider [sponsoring the project](https://donate.golangci.org) to help sustain its development. 💛 + options: + - label: I am a [sponsor/backer](https://donate.golangci.org) of this project.