Repository navigation
Description
Goal
This repository's workflow checks and their tests load yaml and ajv from a package this repository owns, scripts/ci-deps/, instead of from the node_modules of the synced runner-policy copy (.github/standards/runner-policy/). This is the first reader move before that copy is read from a run-time checkout of standards main and then deleted.
Basis
Brief acceptance Q2 of the standards sync track (owner decision D1): CI-only synced files (runner-policy, vocabulary, trusted-actors, dependabot-policy) are read from a run-time checkout of standards main that records its SHA; every reader is repointed, and gating files change expand-then-contract (readers move first, copies are deleted last). This change only moves readers of the copy's node_modules; it deletes nothing, removes no hold path and loosens nothing. runner-policy.mjs itself still runs from the copy (a later PR moves it to the standards checkout).
Done when
-
scripts/ci-deps/package.jsonand itspackage-lock.jsonpinyaml2.9.1 andajv8.20.0, the versions.github/standards/runner-policy/package.jsonpins today, with enginesnode >=24. -
scripts/check-read-caller-keys.mjs,scripts/check-artifact-retention.mjsandscripts/check-workflow-template-size.mjsresolveyaml(andajv/dist/2020) fromscripts/ci-deps, and their not-installed messages namenpm ci --prefix scripts/ci-deps. - The tests that
createRequirethe runner-policy package or symlink itsnode_modulesusescripts/ci-depsinstead, and theirtest-scopelines namescripts/ci-deps/package.json. - The
pr-require-checks.ymlgate job installsscripts/ci-depsbeside runner-policy and keys its npm cache on both lockfiles; the test legs andmaintenance-audit-test-selection.ymlinstallscripts/ci-depsin place of runner-policy and key on its lockfile. -
scripts/setup-env.shinstallsscripts/ci-depsin place of runner-policy, andpr-run-activity-read.ymlcopies that package's files from the base and itsnode_modulesinto the checkout. -
.github/dependabot.ymlhas an npm entry for/scripts/ci-depswith the same weekly schedule, 3-day cooldown and minor/patch group as the other npm roots. - Docs that name the runner-policy install for these packages (
docs/cloud-sessions.md,docs/conventions/pr-pipeline/pr-run-activity.md) namescripts/ci-deps. - No file outside
.github/standards/and the gate job's runner-policy step reaches into.github/standards/runner-policy/node_modules.
Activity