blob: 16ad0a3c171a0a493a755d8ddc2ba66b6ed5da99 [file] [log] [blame]
# 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@5c7539237e04b714afd8ad9b4aed733815b9fab4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true