From 9c33953ba2f07ed37ed635e8ebedb5c045a053a0 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 1 Feb 2025 17:07:17 +0100 Subject: [PATCH] .github/labeler-no-sync: fix backport labels Matching on !ci/OWNERS was a mistake, because it's matching *every* PR with a change to a non-OWNERS file. This is not fixable with negation rules in the labeler, but we can take advantage of the fact that OWNERS doesn't have a "." in its name. Also, we used the wrong label... --- .github/labeler-no-sync.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/labeler-no-sync.yml b/.github/labeler-no-sync.yml index 95423cbf2d40..a64a5d3cf730 100644 --- a/.github/labeler-no-sync.yml +++ b/.github/labeler-no-sync.yml @@ -1,13 +1,12 @@ # This file is used by .github/workflows/labels.yml # This version uses `sync-labels: false`, meaning that a non-match will NOT remove the label -"backport: release-24.11": +"backport release-24.11": - any: - changed-files: - any-glob-to-any-file: - .github/workflows/* - - ci/**/* - - "!ci/OWNERS" + - ci/**/*.* "6.topic: policy discussion": - any: