ci: auto add '8.has: package (new)' and '8.has: package (update)' labels#482478
Merged
Conversation
f9ee86c to
4a6cf2a
Compare
Use github.token when app token is not available (in forks).
In forks without merge-group history, return empty maintainer map instead of throwing an error.
Forks don't have NixOS teams, return empty list to avoid 404.
Checks all PR commit messages for ': init at' pattern and requires eval to report added packages (attrdiff.added).
Checks all PR commit messages for version update pattern like 'packagename: X.Y.Z -> A.B.C'. Matches: 1.2.3, 0-unstable-2024-01-15, 1.3rc1, alpha, unstable
4a6cf2a to
bf5645a
Compare
mdaniels5757
approved these changes
Jan 24, 2026
mdaniels5757
left a comment
Member
There was a problem hiding this comment.
LGTM.
(I'm sure we could come up with some commit titles that one of these regexes does match but shouldn't, or doesn't match that should. But I think the ones here should be fine for all practical purposes.)
Contributor
|
Successfully created backport PR for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also fixes some issues i encountered in my fork
Tested: