zowoq
c103da6a19
ci: add nixosTests.simple-container
...
nixosTests.simple-vm but using an nspawn container
2026-05-22 21:24:34 +10:00
zowoq
244b700403
nixosTests.simple-vm: rename from nixosTests.simple
...
renamed because we now have different kinds of tests
2026-05-22 21:24:28 +10:00
Michael Daniels
843634b667
Revert "ci/github-script/reviewers: revoke stale review requests"
...
This reverts commit 2d34258228 .
2026-05-18 17:26:09 -04:00
Michael Daniels
acb7b7a38c
Revert "ci/github-script/reviewers: keep team members when revoking stale requests"
...
This reverts commit b721b82180 .
2026-05-18 17:25:58 -04:00
Harinn
b721b82180
ci/github-script/reviewers: keep team members when revoking stale requests
...
Fixes:
https://redirect.github.com/NixOS/nixpkgs/pull/519758#issuecomment-4478985966
2026-05-18 23:14:26 +07:00
Michael Daniels
b7c50a3b8b
ci/github-script/reviewers: revoke stale review requests ( #519758 )
2026-05-17 20:10:05 +00:00
Michael Daniels
6acad97b9c
ci/github-script: update npm versions ( #520661 )
2026-05-17 18:47:56 +00:00
Michael Daniels
8a89d7a286
ci/github-script: update npm versions
2026-05-17 14:41:57 -04:00
zowoq
adabcdead3
ci/github-script/check-target-branch: disable review for xanmod kernels
...
updates should go to master or release branches
2026-05-17 05:05:13 +00:00
Michael Daniels
5d87d9aaa0
ci/github-script: npm audit fix ( #520287 )
2026-05-15 23:30:33 +00:00
Harinn
2d34258228
ci/github-script/reviewers: revoke stale review requests
...
New feature: revoke review requests from a reviewer when the reason they
were review-requested in the first place is gone (e.g. force-pushed),
while preserving reviewers who voluntarily engaged.
2026-05-15 11:02:42 +07:00
Michael Daniels
c642405dbe
ci/github-script/prepare: fix review dismissals
...
I broke this in 1c3e149546 (diff-9baa1b84a40210e20622eeb04bea6db28ef3ff90dea79aa54ba9d1e27c150b21) .
See #520239 for an example of this not working.
2026-05-14 22:00:55 -04:00
Michael Daniels
95e34c848b
ci/github-script: npm audit fix
...
Fixes Dependabot alerts.
2026-05-14 20:50:51 -04:00
Michael Daniels
f5ee5762f0
ci/github-script/manual-file-edits: skip on PRs from one dev branch to another
...
Same logic as in lint-commits.
Fixes https://matrix.to/#/!EoslJfrUGMtQOAfnht:lassul.us/$govFR3OHnME2TZh7tcDSJfXAEfnMVUevnv4l5y4qFD0?via=nixos.org&via=matrix.org&via=catgirl.cloud
2026-05-08 13:37:28 -04:00
Michael Daniels
169fe20ef5
ci/github-script/lint-commits: confirm Git names/emails are present ( #516199 )
2026-05-06 13:29:51 +00:00
Michael Daniels
4d776b4670
ci/github-script/lint-commits: confirm Git names/emails are present
...
Prevents issues reported on Matrix by Jujutsu users,
caused by people omitting these fields.
2026-05-05 17:39:22 -04:00
Michael Daniels
1c3e149546
Reapply {ci,workflows}: allow multiple blocking reviews"
...
A couple of bugfixes, but the problem was that the apps weren't installed.
2026-05-03 18:17:03 -04:00
Michael Daniels
cd2e5a371b
Revert "{ci,workflows}: allow multiple blocking reviews"
2026-05-03 13:21:39 -04:00
Michael Daniels
636fc13366
{ci,workflows}: allow multiple blocking reviews
2026-05-02 18:09:26 -04:00
Michael Daniels
bf5b890773
ci/github-script/merge: clarify maintainership is based on target branch
2026-04-25 16:29:04 -04:00
Michael Daniels
3b14bf26b5
ci/github-script/manual-file-edits: init ( #509418 )
2026-04-17 01:33:15 +00:00
Kamil Monicz
8926c73f50
ci/eval/compare: Expose attrdiff by kernel and platform
2026-04-13 10:53:48 +00:00
Michael Daniels
bd7e8b992b
ci/github-script/manual-file-edits: init
...
Blocks manual edits to github-teams.json
2026-04-12 19:57:37 -04:00
Michael Daniels
8c720affeb
ci/github-script/merge: don't consider draft PRs eligible for merge bot
...
Fixes #499676
2026-03-14 11:09:29 -04:00
Michael Daniels
7d1f3b5df9
ci/github-script/lint-commits: fix link to commit conventions
2026-03-13 18:17:24 -04:00
Michael Daniels
3c8a2add7b
ci/github-script/lint-commits: error when conventional commit format is used ( #495531 )
2026-03-12 22:09:37 +00:00
Michael Daniels
58f002f950
ci/github-script/lint-commits: error when conventional commit format is used
...
E.g. https://redirect.github.com/NixOS/nixpkgs/pull/495442
2026-03-12 18:04:33 -04:00
Michael Daniels
d03b81d689
ci/github-script: don't use GH API when getting commit info, return only subject
2026-03-12 18:04:32 -04:00
Michael Daniels
743ab29528
ci/github-script: split getting commit details for PR into its own file
2026-03-12 18:04:32 -04:00
Michael Daniels
a8fce8701c
ci/github-script/merge: log when queuing/enabling merge
2026-03-10 19:33:48 -04:00
axodentally
86447ec024
ci/github-script/merge: add more documentation links to bot's comment
2026-03-09 11:57:41 +01:00
Emily
fcb9bf6c05
ci: get supported systems from the target branch
2026-03-01 16:07:49 -05:00
luojiyin
7a91c688bc
fix: typo Enqueing -> Enqueuing in merge.js
2026-03-01 13:59:59 +08:00
Michael Daniels
3a4282bc13
ci/github-script: add instructions for dependency updates
2026-02-15 10:21:31 -05:00
Michael Daniels
d70a72500c
ci/github-script: update dependencies, npm audit fix
...
`@actions/artifact` and `commander` now match the versions
used in `.github/workflows/bot.yml`.
2026-02-15 09:39:57 -05:00
Michael Daniels
963f784f6d
ci/github-script/lint-commits: support PRs with over 250 commits, check for "fixup!" commits ( #486796 )
2026-02-14 18:56:15 +00:00
Michael Daniels
1921190502
ci/github-script/lint-commits: check for "fixup!" and friends
2026-02-11 14:13:21 -05:00
Michael Daniels
c7eee1a755
ci/github-script/lint-commits: support PRs with over 250 commits
...
We want to be able to check python-updates.
2026-02-11 14:13:20 -05:00
Michael Daniels
0a07e4e187
ci/github-script/lint-commits: fix development branch check
...
https://redirect.github.com/NixOS/nixpkgs/pull/487628 should have had this
job fail, but [didn't](https://github.com/NixOS/nixpkgs/actions/runs/21753302803/job/62756645701?pr=487628#step:3:18 ),
because the head branch was named `master`.
2026-02-07 19:51:41 -05:00
Silvan Mosberger
55faf59a25
ci: Fix team review requests from the bot
...
https://github.com/NixOS/nixpkgs/actions/runs/21782693200/job/62849125010
2026-02-07 17:34:25 +01:00
Silvan Mosberger
71e704768d
ci/github-script/reviewers.js: Fix reviewer API request
...
It takes arrays, not sets, see https://github.com/NixOS/nixpkgs/actions/runs/21735690914/job/62700395870?pr=487491
2026-02-07 16:04:18 +01:00
Silvan Mosberger
b0b2c24be9
ci: First-class team package maintainer review requests
...
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io >
2026-02-07 13:52:46 +01:00
Michael Daniels
e3f053a65d
ci/github-script/check-target-branch: fix kernel exemption logic
...
Erroneously failed to exempt because I left out an if condition.
2026-02-06 18:59:41 -05:00
Michael Daniels
0d74c65927
Revert "ci: First-class team package maintainer review requests"
...
This reverts commit 193deb8533 .
2026-02-05 21:50:27 -05:00
Philip Taron
ba626b8a60
First-class GitHub team reviews ( #456481 )
2026-02-06 01:44:31 +00:00
Silvan Mosberger
193deb8533
ci: First-class team package maintainer review requests
...
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io >
2026-02-05 14:52:47 +01:00
Michael Daniels
7a74549a85
ci/github-script/reviews: detect reviews belonging to commits.js
...
See comment, but TLDR this is for backwards-compatibility.
(See 479628, where it failed to dismiss after fixing.)
We don't bother with `prepare.js` because it always errors
(and so should never be dismissed).
I have simply added the needed comments to each of `check-target-branch.js`'s
pre-existing reviews, because there are so few.
2026-01-26 19:37:56 -05:00
Michael Daniels
c693894f8a
ci: make reviews sticky; ci/github-script/check-target-branch: do not "Request changes", add exemptions ( #483828 )
2026-01-26 23:17:38 +00:00
Michael Daniels
31876b4580
ci/github-script/bot: refine regexes
2026-01-25 20:19:18 -05:00
Michael Daniels
c9225057c9
ci/github-script/check-target-branch: do not "Request changes"
...
You can technically have multiple reviews requesting changes, but
there's no good way to dismiss all of the reviews requesting changes from
the same user using the UI.
This makes minimization impossible (because all but one of the reviews is not
dismissed, even though the PR is no longer blocked due to the review
in GitHub's system).
As a workaround, we will only comment.
CI will still fail when appropriate.
2026-01-25 19:46:46 -05:00