Create Labeler workflow

This commit is contained in:
Hamish Willee 2025-06-26 14:48:27 +10:00 committed by Ramon Roche
parent a4518580ac
commit 0622f12285

21
.github/workflows/label.yml vendored Normal file
View File

@ -0,0 +1,21 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
# The paths are set up in .github/labeler.yml
#
# See: https://github.com/actions/labeler
name: Labeler
on: [pull_request_target]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"