refactor: Update advanced-issue-labeler to version 3 for severity label functionality

This commit is contained in:
Mauro Balades
2024-07-29 01:10:44 +02:00
parent a3213e069b
commit cc900885ca
2 changed files with 2 additions and 6 deletions

View File

@@ -2,8 +2,7 @@
# Keep up to date with workflows/issue-create.yml !!!
policy:
- template: [bug_report.yml]
section:
- section:
- id: [severity]
label:
- name: 'kind: low severity'

View File

@@ -28,11 +28,8 @@ jobs:
template-path: .github/ISSUE_TEMPLATE/bug_report.yml
- name: Set labels based on severity field
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
token: ${{ secrets.GITHUB_TOKEN }}
section: severity
block-list: | # <-- this value needs to be set (workaround)
None