8 Commits

Author SHA1 Message Date
Michael Daniels
32675f4b92 ci/github-script: convert various to TypeScript 2026-09-26 12:48:43 -04:00
zowoq
5a4d138f79 ci/github-script/check-target-branch-policy: add exemption for kernels
kernel updates go to staging-nixos, they shouldn't be flagged
2026-09-03 09:38:44 +10:00
Michael Daniels
eb501c45ae ci/github-script: convert to ES modules
ES modules work better with TypeScript than CommonJS modules do.

Assisted-by: GPT 5.6 Luna & Terra (Codex)
2026-08-31 18:09:18 -04:00
Michael Daniels
2d813b7719 ci/supportedBranches.js: move to ci/github-script
This way it will be covered by our package.json when we configure ES Modules
in the next commit.
2026-08-31 18:06:11 -04:00
Ihar Hrachyshka
30a8636adf ci/github-script/check-target-branch: evaluate exemptions in policy
Assisted-by: Codex gpt-5.6-sol medium
2026-08-21 18:32:31 -04:00
Ihar Hrachyshka
221930c60c ci/github-script/check-target-branch: check staging-nixos mass rebuilds
Assisted-by: Codex gpt-5.6-sol medium
2026-08-21 18:32:29 -04:00
Ihar Hrachyshka
403d5922cf ci/github-script/check-target-branch: simplify policy decisions
This commit hopefully improves readability: encapsulates some
intermediary decisions in variable, plus adopts early return decision
tree.

Assisted-by: Codex gpt-5.6-sol medium
2026-08-21 18:32:27 -04:00
Ihar Hrachyshka
3d17eabf1a ci/github-script/check-target-branch: extract policy decision
This is in preparation to test the extracted pure function in the next
commit.

Assisted-by: Codex gpt-5.6-sol medium
2026-08-20 17:32:55 -04:00