name: GitHub - Label PRs on: - pull_request_target permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }} cancel-in-progress: true jobs: triage: permissions: # for actions/labeler to determine modified files contents: read # for actions/labeler to add labels to PRs pull-requests: write runs-on: ubuntu-24.04 steps: - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6 with: repo-token: '${{ secrets.GITHUB_TOKEN }}' sync-labels: true