[backport release-25.11] github/labeler: backport changes to labeler-no-sync#482540
Conversation
(cherry picked from commit fb0fb74)
E.g. NixOS#472010, NixOS#472185 (cherry picked from commit e30855a)
The labeler reads its config from the PR's base branch. Therefore, its config files need to be kept in sync across development branches, like other CI files. (cherry picked from commit 20ab35a)
.github/actions/* does not match deeply nested files like .github/actions/checkout/action.yml Instead, we need a recursive glob like **/* (cherry picked from commit cbf9173)
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Warning
Difference between 46cb8ec and original e30855a may warrant inspection.
Show diff
@@ Commit message
E.g. #472010, #472185
+ (cherry picked from commit e30855a4d4bdd17e496f3d375064a181bc42d822)
+
## .github/labeler-no-sync.yml ##
@@
- nixos/doc/**/*
- "backport release-25.05":
-- - any:
-+ - all:
- - changed-files:
- - any-glob-to-any-file:
- - .github/actions/*
- - .github/workflows/*
- - ci/**/*.*
- - maintainers/github-teams.json
-+ - base-branch: ['master']
-
"backport release-25.11":
- - any:
+ - all:
Warning
Difference between 81b3a92 and original 20ab35a may warrant inspection.
Show diff
@@ Commit message
config files need to be kept in sync across development branches, like
other CI files.
+ (cherry picked from commit 20ab35ae0cf1517124e9d490c1d25838e31483c7)
+
## .github/labeler-no-sync.yml ##
@@
- any-glob-to-any-file:
@@ .github/labeler-no-sync.yml
- ci/**/*.*
- maintainers/github-teams.json
- base-branch: ['master']
-@@
- - any-glob-to-any-file:
- - .github/actions/*
- - .github/workflows/*
-+ - .github/labeler*.yml
- - ci/**/*.*
- - maintainers/github-teams.json
- - base-branch: ['master']
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
Diffs correctly missing 25.05 stuff
060c908
Manual backport of commits touching
.github/labeler-no-sync.yml, to enable future automatic backports.Things done