Any chance to backport #32224 to V255? #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Issue labeler | |
on: | |
issues: | |
types: [ opened ] | |
permissions: | |
contents: read | |
jobs: | |
label-component: | |
runs-on: ubuntu-22.04 | |
permissions: | |
issues: write | |
strategy: | |
matrix: | |
template: [ bug_report.yml, feature_request.yml ] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Parse issue form | |
uses: stefanbuck/github-issue-parser@c1a559d78bfb8dd05216dab9ffd2b91082ff5324 | |
id: issue-parser | |
with: | |
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }} | |
- name: Set labels based on component field | |
uses: redhat-plumbers-in-action/advanced-issue-labeler@71bcf99aef4b9ea844db9a43755e8ac02c8e661e | |
with: | |
issue-form: ${{ steps.issue-parser.outputs.jsonString }} | |
template: ${{ matrix.template }} | |
token: ${{ secrets.GITHUB_TOKEN }} |