WIP 10/14 ref work #993
This file contains hidden or 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
# Automatically label PRs based on the files changed | |
name: "Pull Request Labeler" | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened, ready_for_review] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Label PR based on file paths | |
uses: actions/labeler@v6 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true # Remove labels when files no longer match |