Bump the github-actions-all group across 1 directory with 3 updates #202
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: sync-labels | |
on: | |
push: | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/sync-labels.yml' | |
permissions: | |
contents: read | |
jobs: | |
labeler: | |
permissions: | |
# actions/checkout needs this to fetch code | |
contents: read | |
# crazy-max/ghaction-github-labeler needs this to manage repository labels | |
issues: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # tag=v2.10.2 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2 | |
- name: Sync repository labels | |
if: success() | |
uses: crazy-max/ghaction-github-labeler@b54af0c25861143e7c8813d7cbbf46d2c341680c # tag=v5.1.0 | |
with: | |
# This is a hideous ternary equivalent so we only do a dry run unless | |
# this workflow is triggered by the develop branch. | |
dry-run: ${{ github.ref_name == 'develop' && 'false' || 'true' }} |