summaryrefslogtreecommitdiff
path: root/ci/github-script
AgeCommit message (Collapse)Author
4 daysRevert "ci/github-script/reviewers: revoke stale review requests"Michael Daniels
This reverts commit 2d34258228fcced6323f40871322afa7d1b3cdb6.
4 daysRevert "ci/github-script/reviewers: keep team members when revoking stale ↵Michael Daniels
requests" This reverts commit b721b82180ec6f975c65e6efaab574df24416a33.
4 daysci/github-script/reviewers: keep team members when revoking stale requestsHarinn
Fixes: https://redirect.github.com/NixOS/nixpkgs/pull/519758#issuecomment-4478985966
5 daysci/github-script/reviewers: revoke stale review requests (#519758)Michael Daniels
5 daysci/github-script: update npm versions (#520661)Michael Daniels
5 daysci/github-script: update npm versionsMichael Daniels
6 daysci/github-script/check-target-branch: disable review for xanmod kernelszowoq
updates should go to master or release branches
7 daysci/github-script: npm audit fix (#520287)Michael Daniels
8 daysci/github-script/reviewers: revoke stale review requestsHarinn
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.
8 daysci/github-script/prepare: fix review dismissalsMichael Daniels
I broke this in https://github.com/NixOS/nixpkgs/commit/1c3e1495465d571229801c334e4d6b25a1d1998e#diff-9baa1b84a40210e20622eeb04bea6db28ef3ff90dea79aa54ba9d1e27c150b21. See #520239 for an example of this not working.
8 daysci/github-script: npm audit fixMichael Daniels
Fixes Dependabot alerts.
2026-05-08ci/github-script/manual-file-edits: skip on PRs from one dev branch to anotherMichael Daniels
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-06ci/github-script/lint-commits: confirm Git names/emails are present (#516199)Michael Daniels
2026-05-05ci/github-script/lint-commits: confirm Git names/emails are presentMichael Daniels
Prevents issues reported on Matrix by Jujutsu users, caused by people omitting these fields.
2026-05-03Reapply {ci,workflows}: allow multiple blocking reviews"Michael Daniels
A couple of bugfixes, but the problem was that the apps weren't installed.
2026-05-03Revert "{ci,workflows}: allow multiple blocking reviews"Michael Daniels
2026-05-02{ci,workflows}: allow multiple blocking reviewsMichael Daniels
2026-04-25ci/github-script/merge: clarify maintainership is based on target branchMichael Daniels
2026-04-17ci/github-script/manual-file-edits: init (#509418)Michael Daniels
2026-04-13ci/eval/compare: Expose attrdiff by kernel and platformKamil Monicz
2026-04-12ci/github-script/manual-file-edits: initMichael Daniels
Blocks manual edits to github-teams.json
2026-03-14ci/github-script/merge: don't consider draft PRs eligible for merge botMichael Daniels
Fixes #499676
2026-03-13ci/github-script/lint-commits: fix link to commit conventionsMichael Daniels
2026-03-12ci/github-script/lint-commits: error when conventional commit format is used ↵Michael Daniels
(#495531)
2026-03-12ci/github-script/lint-commits: error when conventional commit format is usedMichael Daniels
E.g. https://redirect.github.com/NixOS/nixpkgs/pull/495442
2026-03-12ci/github-script: don't use GH API when getting commit info, return only subjectMichael Daniels
2026-03-12ci/github-script: split getting commit details for PR into its own fileMichael Daniels
2026-03-10ci/github-script/merge: log when queuing/enabling mergeMichael Daniels
2026-03-09ci/github-script/merge: add more documentation links to bot's commentaxodentally
2026-03-01ci: get supported systems from the target branchEmily
2026-03-01fix: typo Enqueing -> Enqueuing in merge.jsluojiyin
2026-02-15ci/github-script: add instructions for dependency updatesMichael Daniels
2026-02-15ci/github-script: update dependencies, `npm audit fix`Michael Daniels
`@actions/artifact` and `commander` now match the versions used in `.github/workflows/bot.yml`.
2026-02-14ci/github-script/lint-commits: support PRs with over 250 commits, check for ↵Michael Daniels
"fixup!" commits (#486796)
2026-02-11ci/github-script/lint-commits: check for "fixup!" and friendsMichael Daniels
2026-02-11ci/github-script/lint-commits: support PRs with over 250 commitsMichael Daniels
We want to be able to check python-updates.
2026-02-07ci/github-script/lint-commits: fix development branch checkMichael Daniels
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-07ci: Fix team review requests from the botSilvan Mosberger
https://github.com/NixOS/nixpkgs/actions/runs/21782693200/job/62849125010
2026-02-07ci/github-script/reviewers.js: Fix reviewer API requestSilvan Mosberger
It takes arrays, not sets, see https://github.com/NixOS/nixpkgs/actions/runs/21735690914/job/62700395870?pr=487491
2026-02-07ci: First-class team package maintainer review requestsSilvan Mosberger
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io>
2026-02-06ci/github-script/check-target-branch: fix kernel exemption logicMichael Daniels
Erroneously failed to exempt because I left out an if condition.
2026-02-05Revert "ci: First-class team package maintainer review requests"Michael Daniels
This reverts commit 193deb853344a1381bcf7fe077f48b0847eb3a62.
2026-02-06First-class GitHub team reviews (#456481)Philip Taron
2026-02-05ci: First-class team package maintainer review requestsSilvan Mosberger
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io>
2026-01-26ci/github-script/reviews: detect reviews belonging to commits.jsMichael Daniels
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-26ci: make reviews sticky; ci/github-script/check-target-branch: do not ↵Michael Daniels
"Request changes", add exemptions (#483828)
2026-01-25ci/github-script/bot: refine regexesMichael Daniels
2026-01-25ci/github-script/check-target-branch: do not "Request changes"Michael Daniels
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-25ci/github-script/check-target-branch: kernel updates should not need to go ↵Michael Daniels
to staging-xx.xx
2026-01-25ci/github-script/check-target-branch: loosen staging threshold for ↵Michael Daniels
home-assistant