diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..5266ecdded --- /dev/null +++ b/.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: |- +
+ + ``` + + ``` + +
+ 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: |- +
+ + ```go + // add your code here + ``` + +
+ validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..5628877bcf --- /dev/null +++ b/.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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..031f912fbb --- /dev/null +++ b/.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