refactor: Update bug report template with severity options

This commit is contained in:
Mauro Balades
2024-07-29 00:55:22 +02:00
parent bf96065340
commit fd7d0bbd50
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
---
# Keep up to date with workflows/issue-create.yml !!!
# Low (visual glitch, minor inconvenience)
@@ -7,7 +8,8 @@
# Enhancement (feature request) [we like these too!]
policy:
- section:
- template: [bug_report.yml]
section:
- id: [severity]
label:
- name: 'kind: low severity'
@@ -18,5 +20,6 @@ policy:
keys: ['High (badly broken, no workaround)']
- name: 'kind: critical severity'
keys: ['Critical (data loss, security issue)']
- name: 'kind: enhancement'
keys: ['Enhancement (feature request) [we like these too!]']

View File

@@ -31,5 +31,4 @@ jobs:
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
section: severity
token: ${{ secrets.GITHUB_TOKEN }}