Skip to content

Commit

Permalink
Updates issue templates, YAML style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jul 10, 2022
1 parent 384ac9d commit f6d7ed9
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 91 deletions.
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/addition-to-list.md

This file was deleted.

56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/addition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Addition
description: 🆕 Suggest something to be added to the list
title: '[ADDITION] <title>'
labels: ['Suggested Addition', 'Awaiting Review']
assignees:
- lissy93
body:
# Location
- type: input
id: location
attributes:
label: Location
description: >-
Indicate which section (and if applicable sub-section) the addition should be made
placeholder:
validations:
required: true

# Addition Info
- type: textarea
id: addition
attributes:
label: Addition
description: |
Please describe what should be added
Where applicable, provide links to reputable sources to back up any info
placeholder:
validations:
required: true

# Can user submit PR
- type: dropdown
id: canImplement
attributes:
label: Would you like to submit a PR?
description: Is this addition something that you are willing to submit a pull request for?
options:
- 'No'
- 'Maybe'
- 'Yes'
validations:
required: false


# Confirmation checkboxes
- type: checkboxes
id: idiot-check
attributes:
label: Please tick the boxes
options:
- label: To the best of my knowledge, the information I've provided is correct
required: true
- label: I have checked that a similar ticket has not previously been opened
required: true
- label: I agree to the repositories [Code of Conduct](https://github.com/Lissy93/personal-security-checklist/blob/master/.github/CODE_OF_CONDUCT.md)
required: true
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/removal-from-list.md

This file was deleted.

56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/removal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Removal
description: ❌ Suggest something that should be removed from the list
title: '[REMOVAL] <title>'
labels: ['Suggested Removal', 'Awaiting Review']
assignees:
- lissy93
body:
# Location
- type: input
id: location
attributes:
label: What should be removed?
description: >-
Indicate which point, and from which section you are referring to
placeholder:
validations:
required: true

# Removal description
- type: textarea
id: removal
attributes:
label: Justification
description: |
Describe why this should be removed
Where applicable, provide links to reputable sources to back up any info
placeholder:
validations:
required: true

# Can user submit PR
- type: dropdown
id: canImplement
attributes:
label: Would you like to submit a PR?
description: Is this removal something that you are willing to submit a pull request for?
options:
- 'No'
- 'Maybe'
- 'Yes'
validations:
required: false

# Confirmation checkboxes
- type: checkboxes
id: idiot-check
attributes:
label: Please tick the boxes
options:
- label: To the best of my knowledge, the information I've provided is correct
required: true
- label: I have checked that a similar ticket has not previously been opened
required: true
- label: I agree to the repositories [Code of Conduct](https://github.com/Lissy93/personal-security-checklist/blob/master/.github/CODE_OF_CONDUCT.md)
required: true

0 comments on commit f6d7ed9

Please sign in to comment.