Skip to content

Commit

Permalink
docs: convert issue templates to issue forms. (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 23, 2021
1 parent b20e8f3 commit fbd369e
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 78 deletions.
42 changes: 0 additions & 42 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,75 @@
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 releases.
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: expected
attributes:
label: What did you expect to see?
placeholder: Description.
validations:
required: true

- type: textarea
id: current
attributes:
label: What did you see instead?
placeholder: Description.
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: |
1. ...
2. ...
3. ...
...
validations:
required: true

- type: textarea
id: version
attributes:
label: Version of lego
value: |-
<details>
```console
$ lego --version
# paste output here
```
</details>
validations:
required: true

- type: textarea
id: logs
attributes:
label: Logs
value: |-
<details>
```console
# paste output here
```
</details>
validations:
required: true
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,18 @@
name: Feature request
description: Suggest an idea for this project.
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true

- type: textarea
id: description
attributes:
label: Detailed Description
placeholder: Description.
validations:
required: true
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/new_dns_provider.md

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/new_dns_provider.yml
@@ -0,0 +1,44 @@
name: New DNS provider support
description: Request for the support of a new DNS provider.
title: "Support for provider: "
labels: [enhancement, new-provider]
body:
- type: checkboxes
id: terms
attributes:
label: Welcome
options:
- label: Yes, I've searched similar issues on GitHub and didn't find any.
required: true
- label: Yes, the DNS provider exposes a public API.
required: true
- label: Yes, I know that the lego maintainers don't have an account in all DNS providers in the world.
required: true
- label: Yes, I'm able to create a pull request and be able to maintain the implementation.
required: false
- 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: input
id: provider-link
attributes:
label: Link to the DNS provider
placeholder: Put your link here.
validations:
required: true

- type: input
id: api-link
attributes:
label: Link to the API documentation
placeholder: Put your link here.
validations:
required: true

- type: textarea
id: expected
attributes:
label: Additional Notes
placeholder: Your notes.
validations:
required: false

0 comments on commit fbd369e

Please sign in to comment.