ci(issue-labeler): Update to advanced-issue-labeler@v2

The new version of `advanced-issue-labeler` GitHub Action introduces new
structure of policy that requires adjustments to systemd issue labeling
policy.

Changes introduced in v2.0.0 - https://github.com/redhat-plumbers-in-action/advanced-issue-labeler/releases/tag/v2.0.0
This commit is contained in:
Jan Macku
2022-09-07 10:43:48 +02:00
parent 10719a6ff8
commit a4965366ec
2 changed files with 145 additions and 52 deletions

View File

@@ -29,10 +29,8 @@ jobs:
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}
- name: Set labels based on component field
uses: redhat-plumbers-in-action/advanced-issue-labeler@d12b782ff92bc9ac535fb09c925aaa5be9e40f69
uses: redhat-plumbers-in-action/advanced-issue-labeler@fe9c43b7d77bd8bd7fbe86c2c217e74ebeea71f2
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
section: component
block-list: |
other
template: ${{ matrix.template }}
token: ${{ secrets.GITHUB_TOKEN }}