Skip to content

ci: auto add '8.has: package (new)' and '8.has: package (update)' labels#482478

Merged
mdaniels5757 merged 5 commits into
NixOS:masterfrom
qweered:ci-mark-new-update
Jan 25, 2026
Merged

ci: auto add '8.has: package (new)' and '8.has: package (update)' labels#482478
mdaniels5757 merged 5 commits into
NixOS:masterfrom
qweered:ci-mark-new-update

Conversation

@qweered

@qweered qweered commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Also fixes some issues i encountered in my fork

Tested:

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: policy discussion Discuss policies to work in and around Nixpkgs backport release-25.11 labels Jan 21, 2026

@mdaniels5757 mdaniels5757 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a quick look, overall looks great!

Thanks for figuring out the bot fork compatibility! I was running into it a few days ago.

Comment thread ci/github-script/bot.js Outdated
Comment thread ci/github-script/bot.js Outdated
Comment thread .github/actions/checkout/action.yml Outdated
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 22, 2026
@qweered qweered force-pushed the ci-mark-new-update branch from f9ee86c to 4a6cf2a Compare January 23, 2026 23:10
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 23, 2026
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
@qweered qweered force-pushed the ci-mark-new-update branch from 4a6cf2a to bf5645a Compare January 23, 2026 23:15

@mdaniels5757 mdaniels5757 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.)

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 24, 2026
@mdaniels5757 mdaniels5757 added this pull request to the merge queue Jan 25, 2026
Merged via the queue into NixOS:master with commit 1260a92 Jan 25, 2026
49 of 51 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jan 25, 2026
@qweered qweered deleted the ci-mark-new-update branch January 26, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: policy discussion Discuss policies to work in and around Nixpkgs 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: automatically set "8.has: package (new)" and "8.has: package (update)" labels

3 participants