]> git.ipfire.org Git - thirdparty/systemd.git/blob - .github/workflows/issue_labeler.yml
docs/RANDOM_SEEDS: update NetBSD link
[thirdparty/systemd.git] / .github / workflows / issue_labeler.yml
1 ---
2
3 name: Issue labeler
4 on:
5 issues:
6 types: [ opened ]
7
8 permissions:
9 contents: read
10
11 jobs:
12 label-component:
13 runs-on: ubuntu-22.04
14
15 permissions:
16 issues: write
17
18 strategy:
19 matrix:
20 template: [ bug_report.yml, feature_request.yml ]
21
22 steps:
23 - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
24
25 - name: Parse issue form
26 uses: stefanbuck/github-issue-parser@c1a559d78bfb8dd05216dab9ffd2b91082ff5324
27 id: issue-parser
28 with:
29 template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}
30
31 - name: Set labels based on component field
32 uses: redhat-plumbers-in-action/advanced-issue-labeler@9e55064634b67244f7deb4211452b4a7217b93de
33 with:
34 issue-form: ${{ steps.issue-parser.outputs.jsonString }}
35 template: ${{ matrix.template }}
36 token: ${{ secrets.GITHUB_TOKEN }}