mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 05:24:04 +01:00
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. |
||
|---|---|---|
| .. | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| bot.js | ||
| check-target-branch.js | ||
| commits.js | ||
| get-teams.js | ||
| lint-commits.js | ||
| merge.js | ||
| package-lock.json | ||
| package.json | ||
| prepare.js | ||
| README.md | ||
| reviewers.js | ||
| reviews.js | ||
| run | ||
| shell.nix | ||
| withRateLimit.js | ||
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-shellin./ci/github-script. - Ensure
ghis 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".