Commit Graph

535 Commits

Author SHA1 Message Date
Michael B. Gale d71d6bc3e2 Add --verbose option 2026-03-16 09:49:34 +00:00
Michael B. Gale aa47a39174 Tidy up pr-checks/package.json 2026-03-16 09:49:34 +00:00
Michael B. Gale f3032c7b3b Add excluded.yml path to config.ts 2026-03-16 09:49:34 +00:00
Michael B. Gale b2bd6a3229 Add some unit tests for sync-checks.ts 2026-03-16 09:49:33 +00:00
Michael B. Gale 9c5e09a2e8 Actually perform the update when necessary and requested 2026-03-16 09:49:32 +00:00
Michael B. Gale 5eeed7e320 Call updateBranch for main 2026-03-16 09:49:32 +00:00
Michael B. Gale 7479f9f88b Identify changes before applying them 2026-03-16 09:49:32 +00:00
Michael B. Gale 99ca431484 Fetch release branches and identify major versions 2026-03-16 09:49:32 +00:00
Michael B. Gale 8291875e31 Fetch and filter check runs for ref 2026-03-16 09:49:32 +00:00
Michael B. Gale f9f9735cd1 Add type to represent exclusions.yml and loading helper 2026-03-16 09:49:31 +00:00
Michael B. Gale 6e0a9b0b5b Initialise API client 2026-03-16 09:49:31 +00:00
Michael B. Gale fbb8b97620 Add initial TS implementation of update-required-checks.sh 2026-03-16 09:49:31 +00:00
Michael B. Gale b8eb533bea Add config file for excluded checks from update-required-checks.sh 2026-03-16 09:49:31 +00:00
Michael B. Gale cf2a9cbade Add tests for release-branches.ts 2026-03-16 09:49:31 +00:00
Michael B. Gale 9780ea53fd Validate inputs 2026-03-16 09:49:30 +00:00
Michael B. Gale 250c858e55 Refactor backport computation into computeReleaseBranches 2026-03-16 09:49:30 +00:00
Michael B. Gale d50cb700e3 Convert release-branches.py to TypeScript 2026-03-16 09:49:29 +00:00
Michael B. Gale a5aba5952c Remove package-lock.json that's no longer needed
Since `pr-checks` is now a workspace of the main `package.json`
2026-03-13 10:43:43 +00:00
Michael B. Gale b4cb1049fb Fix linter errors in sync-back.test.ts 2026-03-12 22:39:45 +00:00
Michael B. Gale b171c1c6d9 Fix linter errors in sync-back.ts 2026-03-12 22:39:44 +00:00
Michael B. Gale 967ca853e1 Rename sync_back to sync-back 2026-03-12 22:39:44 +00:00
Michael B. Gale 7950e47b7f Fix linter errors in sync.ts 2026-03-12 22:39:44 +00:00
Michael B. Gale 7df3db2b6f Add minimal Step type 2026-03-12 22:39:44 +00:00
Henry Mercer 117bf916af Sort OS list and versions consistently 2026-03-11 17:11:07 +00:00
Henry Mercer 30ecc82e64 PR checks: Replace inline arrays
Lists are easier to modify
2026-03-11 17:11:07 +00:00
Henry Mercer 4174779474 PR checks: Only run Go macOS tests on latest CodeQL versions 2026-03-11 17:10:56 +00:00
Henry Mercer 2bc06587aa PR checks: Add support for per-OS CodeQL version 2026-03-11 17:10:45 +00:00
Michael B. Gale 89f63211ed Use version in error message 2026-03-11 12:18:41 +00:00
Michael B. Gale 6570ad3440 Extend base tsconfig.json 2026-03-11 12:16:28 +00:00
Michael B. Gale be7fe2bca6 Make it more explicit by construction that known inputs always have the same specifications 2026-03-11 12:14:41 +00:00
Michael B. Gale 2e1f08fe70 Remove installPython condition in sync.ts
The behaviour of `installPython` now mirrors other `install*` options
2026-03-11 11:55:59 +00:00
Michael B. Gale b9b42bed94 Remove last use of installPython
- Add explicit `setup-python` step with condition to the workflow that was still using it
- This allows simplifying the logic in `sync.ts`
2026-03-11 11:55:16 +00:00
Michael B. Gale 8ba8180559 Merge remote-tracking branch 'origin/main' into mbg/pr-checks/validation-jobs 2026-03-09 17:58:41 +00:00
Michael B. Gale f054eea342 Merge pull request #3549 from github/mbg/pr-checks/remove-python-setup
Remove `installPython` from checks which should no longer need it
2026-03-09 14:48:05 +00:00
Michael B. Gale 5ddbbbe614 Install python if there is no matrix.version 2026-03-09 14:16:23 +00:00
Michael B. Gale da11f44114 Run prepare-test after setup steps 2026-03-09 14:13:22 +00:00
Michael B. Gale 0da2e79318 Remove installPython from checks which should no longer need it 2026-03-05 16:17:19 +00:00
Michael B. Gale 2a0060496c Fix condition 2026-03-05 16:07:10 +00:00
Michael B. Gale 103db93efa Make it more explicit that getSetupSteps just needs a JobSpecification 2026-03-05 16:06:03 +00:00
Michael B. Gale 79fdef791d Fix generateValidationJobs typing 2026-03-05 15:54:33 +00:00
Michael B. Gale 3d478129f2 Add tsconfig.json for pr-checks 2026-03-05 15:54:17 +00:00
Michael B. Gale 56ebdff8ae Merge branch 'main' into mbg/pr-checks/validation-jobs 2026-03-05 15:39:28 +00:00
github-actions[bot] e96635d9ff Rebuild 2026-03-05 13:19:38 +00:00
Michael B. Gale 2b6077152e Add support for additional, validation jobs 2026-03-04 11:37:17 +00:00
Michael B. Gale 95fc2f11fb Move yq setup code into getSetupSteps 2026-03-04 11:37:17 +00:00
Michael B. Gale 92ab799fe0 Refactor job generation into generateJob 2026-03-04 11:37:17 +00:00
Michael B. Gale 369d73b98f Refactor matrix generation into its own function 2026-03-04 11:37:16 +00:00
Michael B. Gale 97a3705788 Organise language-specific setup information 2026-03-04 11:37:16 +00:00
Michael B. Gale 5db3a9e947 Extract JobSpecification type from Specification 2026-03-03 14:15:45 +00:00
Michael B. Gale 0a5b95cdcc Update pr-checks README 2026-03-03 11:45:18 +00:00