diff options
author | Jan Macku <jamacku@redhat.com> | 2022-06-23 14:16:43 +0200 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2022-06-23 17:22:47 +0300 |
commit | 632372bcbc05afb44efc75922b3f05de19b5746a (patch) | |
tree | 47e1f1d74e2bb04bcb5a2ed3786ba343a23694a5 /.github | |
parent | ef88c81bbe3f3f01ac7a01c648f16a1bab9fb375 (diff) | |
download | systemd-632372bcbc05afb44efc75922b3f05de19b5746a.tar.gz |
github: Issue forms templates follow-up
- Use `SHA1` for actions versioning
- Fix typo: `github-issue-praser` -> `github-issue-parser`
- Define exact permissions
Follow-up to: #23693
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/issue_labeler.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/issue_labeler.yml b/.github/workflows/issue_labeler.yml index 0867b8a2f4..d237360b5e 100644 --- a/.github/workflows/issue_labeler.yml +++ b/.github/workflows/issue_labeler.yml @@ -9,27 +9,30 @@ on: jobs: label-component: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 + + permissions: + issues: write strategy: matrix: template: [ bug_report.yml, feature_request.yml ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - - uses: actions/setup-node@v3 + - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd with: node-version: '16' - name: Parse issue form - uses: stefanbuck/github-issue-praser@v2 + uses: stefanbuck/github-issue-parser@fb73b92b5c4d283c3e9a198f2bb7dbbf6cf87079 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@v1 + uses: redhat-plumbers-in-action/advanced-issue-labeler@b89eb39b97529bb7596cb4e716485a6d6f7dd74a with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} section: component |