--- name: Issue labeler on: issues: types: [ opened ] permissions: contents: read jobs: label-component: runs-on: ubuntu-24.04 permissions: issues: write strategy: matrix: template: [ bug_report.yml, feature_request.yml ] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Parse issue form uses: stefanbuck/github-issue-parser@1e5bdee70d4b3e066a33aa0669ab782943825f94 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@d498805e5c7c0658e336948b3363480bcfd68da6 with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} template: ${{ matrix.template }} token: ${{ secrets.GITHUB_TOKEN }}