blob: 4d5148c05aedc2a78b9ff8c358344c2ed99b97e2 [file] [edit]
# This workflow applies labels to pull requests based on the paths that are
# modified in the pull request.
#
# Edit `.github/labeler.yml` to configure labels. For more information, see
# https://github.com/actions/labeler.
name: Pull Request Labeler
permissions: {}
on:
# zizmor: ignore[dangerous-triggers] - labels fork and Dependabot PRs; no PR code is checked out
pull_request_target:
jobs:
label:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true