blob: a474d2c4b5e45829124437213787f1f433cc4c91 [file] [log] [blame] [edit]
# This workflow applies labels to pull requests based on the
# paths that are modified in the pull request.
#
# Edit `.github/labeler.yml` and `.github/post_merge_labeler.yml`
# to configure labels.
#
# For more information, see: https://github.com/actions/labeler
name: Pull Request Labeler
on:
pull_request_target:
types: [opened, synchronize, reopened, closed]
# Declare default permissions as read only.
permissions: read-all
jobs:
label:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@9fcb2c2f5584144ca754f8bfe8c6f81e77753375
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true