Skip to content

docs: convert issue templates to issue forms. #2077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 0 additions & 72 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

105 changes: 105 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
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'm using a binary release within 2 latest major releases. Only such installations are supported.
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
- label: Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)
required: true

- type: textarea
id: problem
attributes:
label: Description of the problem
placeholder: Your problem description
validations:
required: true

- type: textarea
id: version
attributes:
label: Version of golangci-lint
value: |-
<details>

```console
$ golangci-lint --version
# Paste output here
```

</details>
validations:
required: true

- type: textarea
id: config
attributes:
label: Configuration file
value: |-
<details>

```console
$ cat .golangci.yml
# paste output here
```

</details>
validations:
required: true

- type: textarea
id: go-env
attributes:
label: Go environment
value: |-
<details>

```console
$ go version && go env
# paste output here
```

</details>
validations:
required: true

- type: textarea
id: verbose-output
attributes:
label: Verbose output of running
value: |-
<details>

```console
$ golangci-lint cache clean
$ golangci-lint run -v
# paste output here
```

</details>
validations:
required: true

- type: textarea
id: code-example
attributes:
label: Code example or link to a public repository
value: |-
<details>

```go
// add your code here
```

</details>
validations:
required: true
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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