From c633798ca6f019e861211a1b961a54a51e827ecf Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Fri, 23 Oct 2026 11:28:22 -0400 Subject: [PATCH] feat(runner-policy): register the ci-workflows v0.64.2 pr-review-cli contract v0.64.2 changes only how pr-review-cli's steps read the GitHub API (ci-workflows#869), so its contract copies the v0.64.1 entry forward verbatim. Co-Authored-By: Claude Opus 5.5 --- components/runner-policy/policy.json | 21 +++++++++++++++++++ .../runner-policy/runner-policy.test.mjs | 11 ++++++++++ 2 files changed, 32 insertions(+) diff --git a/components/runner-policy/policy.json b/components/runner-policy/policy.json index f39ddbbe..b708c7a9 100644 --- a/components/runner-policy/policy.json +++ b/components/runner-policy/policy.json @@ -833,6 +833,27 @@ "CLAUDE_CODE_OAUTH_TOKEN": "${{ secrets.REVIEWS_CLAUDE_CODE_OAUTH_TOKEN }}" } }, + "melodic-software/ci-workflows/.github/workflows/pr-review-cli.yml@6d6cb798e7cb7560a0f9327d8a22398961c23b31": { + "routing": "hosted-only", + "fixedRunsOn": ["ubuntu-24.04"], + "allowedInputs": [ + "lane", + "publish", + "role", + "model-args", + "allowed-bot-sender-ids", + "allowed-author-ids", + "docs-only-paths", + "incremental-review", + "cli-version", + "hold-label", + "hold-paths" + ], + "allowedSecrets": { + "CLAUDE_API_KEY": "${{ secrets.REVIEWS_CLAUDE_API_KEY }}", + "CLAUDE_CODE_OAUTH_TOKEN": "${{ secrets.REVIEWS_CLAUDE_CODE_OAUTH_TOKEN }}" + } + }, "melodic-software/ci-workflows/.github/workflows/intake-label-needs-triage.yml@ab83b01273026ab5c23c6f3b40e946d97a863fa2": { "routing": "runner-input", "runnerInput": "runner", diff --git a/components/runner-policy/runner-policy.test.mjs b/components/runner-policy/runner-policy.test.mjs index 027b7f8c..f72e672b 100644 --- a/components/runner-policy/runner-policy.test.mjs +++ b/components/runner-policy/runner-policy.test.mjs @@ -9912,6 +9912,17 @@ test("the pr-review-cli contract at the v0.64.1 tag copies its v0.64.0 entry for assert.equal(Object.keys(contracts).filter((k) => k.endsWith(`@${sha}`)).length, 1); }); +// v0.64.2 changes only how pr-review-cli's steps read the GitHub API +// (ci-workflows#869), so its contract copies the v0.64.1 entry forward +// verbatim. +test("the pr-review-cli contract at the v0.64.2 tag copies its v0.64.1 entry forward verbatim", () => { + const contracts = BASE_POLICY.approvedReusableWorkflowContracts; + const key = (sha) => `melodic-software/ci-workflows/.github/workflows/pr-review-cli.yml@${sha}`; + const sha = "6d6cb798e7cb7560a0f9327d8a22398961c23b31"; + assert.deepEqual(contracts[key(sha)], contracts[key("9aca743c4ed9aaf7870288a36586c3994e9321e4")]); + assert.equal(Object.keys(contracts).filter((k) => k.endsWith(`@${sha}`)).length, 1); +}); + // Convergence as a property, never as a hardcoded SHA. The daily // claude-lanes-repin lane rewrites these components on every ci-workflows // release, and a test naming one revision would go red by construction on