Skip to content

Commit

Permalink
doc: improve issue forms. (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jul 1, 2021
1 parent 43779d7 commit 505f6d5
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 5 deletions.
37 changes: 32 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,26 @@ body:
validations:
required: true

- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true

- type: textarea
id: steps
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
placeholder: |
1. ...
2. ...
3. ...
Expand All @@ -47,11 +61,23 @@ body:
id: version
attributes:
label: Version of lego
description: |-
```console
$ lego --version
```
placeholder: Paste output here
render: console
validations:
required: true

- type: textarea
id: logs
attributes:
label: Logs
value: |-
<details>
```console
$ lego --version
# paste output here
```
Expand All @@ -60,16 +86,17 @@ body:
required: true

- type: textarea
id: logs
id: go-env
attributes:
label: Logs
label: Go environment (if applicable)
value: |-
<details>
```console
$ go version && go env
# paste output here
```
</details>
validations:
required: true
required: false
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ body:
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true

- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true

- type: textarea
id: description
attributes:
Expand Down
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/new_dns_provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ body:
- label: Yes, I'm able to test an implementation if someone creates a pull request to add the support of this DNS provider.
required: false

- type: dropdown
id: type
attributes:
label: How do you use lego?
options:
- Library
- Binary
- Docker image
- Through Traefik
- Through Caddy
- Other
validations:
required: true

- type: input
id: provider-link
attributes:
Expand Down

0 comments on commit 505f6d5

Please sign in to comment.