Convert `release-branches.py` and `update-required-checks.sh` to TypeScript by mbg · Pull Request #3575 · github/codeql-action
pr-checks/sync-checks.ts
New TS script to compute/apply required checks from check-runs API + exclusions.
pr-checks/sync-checks.test.ts
Unit tests for
removeExcluded.
pr-checks/release-branches.ts
New TS logic to compute backport source/targets for releases.
pr-checks/release-branches.test.ts
Unit tests for computeBackportBranches.
pr-checks/package.json
Adds dependencies needed to run the new TS scripts in the pr-checks workspace.
pr-checks/excluded.yml
Centralized config of check names/patterns to exclude from required checks.
pr-checks/config.ts
New shared config (including OLDEST_SUPPORTED_MAJOR_VERSION).
package-lock.json
Lockfile updates for the added pr-checks dependencies.
eslint.config.mjs
ESLint updates to correctly resolve workspace deps and lint pr-checks TS using its tsconfig.
CONTRIBUTING.md
Documentation update pointing OLDEST_SUPPORTED_MAJOR_VERSION to pr-checks/config.ts.
.github/actions/release-initialise/action.yml
Adds Node setup (Node 20 + npm cache) for release jobs.
.github/actions/release-branches/action.yml
Switches release-branch computation from Python to the new TS script (runs npm ci + npx tsx).
lib/upload-sarif-action.js
Generated bundle changes due to dependency graph adjustments.
lib/upload-sarif-action-post.js
Generated bundle changes due to dependency graph adjustments.
lib/upload-lib.js
Generated bundle changes due to dependency graph adjustments.
lib/start-proxy-action.js
Generated bundle changes due to dependency graph adjustments.
lib/start-proxy-action-post.js
Generated bundle changes due to dependency graph adjustments.
lib/setup-codeql-action.js
Generated bundle changes due to dependency graph adjustments.
lib/resolve-environment-action.js
Generated bundle changes due to dependency graph adjustments.
lib/init-action.js
Generated bundle changes due to dependency graph adjustments.
lib/init-action-post.js
Generated bundle changes due to dependency graph adjustments.
lib/autobuild-action.js
Generated bundle changes due to dependency graph adjustments.
lib/analyze-action.js
Generated bundle changes due to dependency graph adjustments.
lib/analyze-action-post.js
Generated bundle changes due to dependency graph adjustments.