Commit graph

5 commits

Author SHA1 Message Date
Wolfgang Walther 7f19a6e408 ci/github-script/commits: init from ci/check-cherry-picks
This turns the check-cherry-pick script into a github-script based
JavaScript program. This makes it much easier to extend to check reverts
or merge commits later on.

(cherry picked from commit b46cb23251)
2025-07-16 10:26:08 +00:00
Wolfgang Walther d86a012852 ci/github-script: add gh dependency to dev shell
(cherry picked from commit cdd1931ace)
2025-07-15 12:57:57 +00:00
Wolfgang Walther 6f32a5f04e ci/github-script: default to commonjs
Since all github-scripts need to be written in commonjs, we now default
to it by not setting package.json. Support from editors for .js files is
slightly better than .cjs. To still allow using module imports in the
test runner script, we trick node into loading the script itself as a
module again via `--import ./run`.

(cherry picked from commit d11eba1e1d)
2025-07-15 12:57:57 +00:00
Wolfgang Walther 3d3afc9d32 ci/github-script: add commander CLI interface
This makes it easier to add additional features.

(cherry picked from commit aaaabe0cb7)
2025-07-15 12:57:57 +00:00
Wolfgang Walther d202219502 ci/github-script: move from ci/labels
This just moves things around to use less specific naming - `labels` is
only *one* script that can potentially be run locally while still being
written in github-script. Later, we can add more.

(cherry picked from commit 6f6c625026)
2025-07-15 12:57:57 +00:00