From 9dbb0c8c3dc2dba2d7f117e81b40a9ecb009de42 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Mon, 10 Feb 2025 02:04:36 -0500 Subject: [PATCH] [ci] Turn on sync labels for the labeler (#7770) This means PRs that had labels for certain changes will have those labels removed if those changes are removed. --- .github/workflows/labeler.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e57cd86e2b..526323cea6 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: -- pull_request_target + - pull_request_target jobs: labeler: @@ -9,4 +9,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v5 + with: + sync-labels: true