nixpkgs/ci/github-script
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
..
.editorconfig ci/github-script: default to commonjs 2025-07-14 10:35:18 +02:00
.gitignore ci/github-script/commits: init from ci/check-cherry-picks 2025-07-16 11:50:13 +02:00
.npmrc ci/github-script: use real @actions/core 2025-07-15 15:09:02 +02:00
bot.js ci/github-script/bot: refine regexes 2026-01-25 20:19:18 -05:00
check-target-branch.js ci/github-script/check-target-branch: do not "Request changes" 2026-01-25 19:46:46 -05:00
commits.js ci/github-script/{reviews,check-target-branch,commits,prepare}: add sticky review support 2026-01-25 19:10:50 -05:00
get-teams.js ci/github-script/teams: use consistent style 2025-10-28 11:56:25 +01:00
lint-commits.js workflows/lint: require to contain a colon with a whitespace 2026-01-09 16:40:09 +08:00
merge.js ci/github-script/merge: add hint about stuck GitHub (#459122) 2025-11-06 17:11:28 +00:00
package-lock.json ci/github-script: use real @actions/core 2025-07-15 15:09:02 +02:00
package.json ci/github-script: use real @actions/core 2025-07-15 15:09:02 +02:00
prepare.js ci/github-script/{reviews,check-target-branch,commits,prepare}: add sticky review support 2026-01-25 19:10:50 -05:00
README.md ci/github-script/commits: init from ci/check-cherry-picks 2025-07-16 11:50:13 +02:00
reviewers.js ci/github-script/bot: handle deleted maintainer accounts gracefully 2026-01-20 06:27:34 -08:00
reviews.js ci/github-script/reviews: detect reviews belonging to commits.js 2026-01-26 19:37:56 -05:00
run {workflows/eval,ci/github-script}: check for mass rebuilds targeting master/release-* branches 2026-01-19 13:02:09 -05:00
shell.nix ci/github-script: add gh dependency to dev shell 2025-07-15 12:19:41 +02:00
withRateLimit.js ci/github-script/bot: improve parallelism 2025-11-04 16:13:40 +01:00

GitHub specific CI scripts

This folder contains actions/github-script-based JavaScript code. It provides a nix-shell environment to run and test these actions locally.

To run any of the scripts locally:

  • Enter nix-shell in ./ci/github-script.
  • Ensure gh is authenticated.

Check commits

Run ./run commits OWNER REPO PR, where OWNER is your username or "NixOS", REPO is the name of your fork or "nixpkgs" and PR is the number of the pull request to check.

Labeler

Run ./run labels OWNER REPO, where OWNER is your username or "NixOS" and REPO the name of your fork or "nixpkgs".