Browse Source

Merge pull request #111 from agu3rra/github.templates

process enhancement: adds templates to the repo
pull/114/head v1.1.0
Daniel Miessler 9 months ago committed by GitHub
parent
commit
86ba1ade46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 37
      .github/ISSUE_TEMPLATE/bug.yml
  2. 13
      .github/ISSUE_TEMPLATE/feature-request.yml
  3. 12
      .github/ISSUE_TEMPLATE/question.yml
  4. 9
      .github/pull_request_template.md

37
.github/ISSUE_TEMPLATE/bug.yml

@ -0,0 +1,37 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "I was doing THIS, when THAT happened. I was expecting THAT_OTHER_THING to happen instead."
validations:
required: true
- type: checkboxes
id: version
attributes:
label: Version check
description: Please make sure you were using the latest version of this project available in the `main` branch.
options:
- label: Yes I was.
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: textarea
id: screens
attributes:
label: Relevant screenshots (optional)
description: Please upload any screenshots that may help us reproduce and/or understand the issue.

13
.github/ISSUE_TEMPLATE/feature-request.yml

@ -0,0 +1,13 @@
name: Feature Request
description: Suggest features for this project.
title: "[Feature request]: "
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: What do you need?
description: Tell us what functionality you would like added/modified?
value: "I want the CLI to do my homework for me."
validations:
required: true

12
.github/ISSUE_TEMPLATE/question.yml

@ -0,0 +1,12 @@
name: Question
description: Ask us questions about this project.
title: "[Question]: "
labels: ["question"]
body:
- type: textarea
id: description
attributes:
label: What is your question?
value: "After reading the documentation, I am still not clear how to get X working. I tried this, this, and that."
validations:
required: true

9
.github/pull_request_template.md

@ -0,0 +1,9 @@
## What this Pull Request (PR) does
Please briefly describe what this PR does.
## Related issues
Please reference any open issues this PR relates to in here.
If it closes an issue, type `closes #[ISSUE_NUMBER]`.
## Screenshots
Provide any screenshots you may find relevant to facilitate us understanding your PR.
Loading…
Cancel
Save