mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 15:35:12 +08:00
0907c0deb7
This activates the `sync-labels` flag which causes the removal of labels when matching files are reverted or no longer changed by the PR.
19 lines
291 B
YAML
19 lines
291 B
YAML
name: Pull Request Labeler
|
|
|
|
on:
|
|
- pull_request_target
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
triage:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/labeler@v4
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
sync-labels: true
|