From f229bd082ca19f51e045d220e389ad7a8bcf026b Mon Sep 17 00:00:00 2001 From: nullStack65 <112618179+nullStack65@users.noreply.github.com> Date: Tue, 24 Nov 2026 02:40:43 +0000 Subject: [PATCH 1/2] fix(ci): admit the upstream-sync App to ARC CI on its exact proposal shape The trust gate on the three ARC workers admitted only the two founder logins, so the required "Voice + founder inbox (Linux ARC)" check failed on PRs opened by the closura-t3code-upstream-sync GitHub App (seen on the disposable proof PR #194). Add one bot clause, identical in all three workers: exact login and numeric id for author and actor, App as the triggering actor, same-repo `sync/upstream-` head into release/native-0.1.10, non-draft, and a `Deploy: none` line with no `Deploy: fleet`. Founder and push paths are unchanged. A node test evaluates the real gate expressions against #194's event shape and negative cases, and the aggregator job runs it. Model: claude-opus-5-5 Task: implementation Agent: Claude Code implementation sub-agent (CLO-1110) Harness: t3/claude-code Co-Authored-By: Claude Opus 5.5 --- .github/scripts/arc-ci-trust-gate.test.cjs | 211 +++++++++++++++++++++ .github/workflows/closura-arc-ci.yml | 51 +++++ 2 files changed, 262 insertions(+) create mode 100644 .github/scripts/arc-ci-trust-gate.test.cjs diff --git a/.github/scripts/arc-ci-trust-gate.test.cjs b/.github/scripts/arc-ci-trust-gate.test.cjs new file mode 100644 index 0000000000000..b07b22e36c9e0 --- /dev/null +++ b/.github/scripts/arc-ci-trust-gate.test.cjs @@ -0,0 +1,211 @@ +// Evaluates the real `if:` gates of the three ARC workers in +// closura-arc-ci.yml against pull_request and push event shapes. The +// evaluator covers the subset of GitHub Actions expressions the gates use, with +// GitHub's semantics: case-insensitive string equality, contains and startsWith, +// loose number/string equality, null for missing properties and short-circuit +// `&&`/`||` that return an operand. +const assert = require("node:assert/strict"); +const fs = require("node:fs"); +const path = require("node:path"); +const test = require("node:test"); + +const root = path.resolve(__dirname, "../.."); +const workflow = fs.readFileSync(path.join(root, ".github/workflows/closura-arc-ci.yml"), "utf8"); +const WORKERS = ["voice-and-inbox-core", "voice-and-inbox-web", "voice-and-inbox-mobile"]; + +function gateOf(job) { + const match = workflow.match( + new RegExp(`\\n ${job}:\\n(?: #.*\\n)* if: >-\\n \\$\\{\\{\\n([\\s\\S]*?)\\n \\}\\}\\n`), + ); + assert.ok(match, `${job} has no folded if: gate`); + return match[1].split("\n").map((line) => line.trim()).join(" "); +} + +function tokenize(source) { + const tokens = []; + const pattern = /\s+|('(?:[^']|'')*')|(\d+)|(&&|\|\||==|!=|!|\(|\)|,|\.)|([A-Za-z_][A-Za-z0-9_-]*)/y; + let index = 0; + while (index < source.length) { + pattern.lastIndex = index; + const match = pattern.exec(source); + if (!match) throw new Error(`unexpected input at ${source.slice(index, index + 20)}`); + index = pattern.lastIndex; + if (match[1]) tokens.push({ type: "str", value: match[1].slice(1, -1).replace(/''/g, "'") }); + else if (match[2]) tokens.push({ type: "num", value: Number(match[2]) }); + else if (match[3]) tokens.push({ type: "op", value: match[3] }); + else if (match[4]) tokens.push({ type: "id", value: match[4] }); + } + return tokens; +} + +const fold = (value) => (typeof value === "string" ? value.toLowerCase() : value); +function looseEqual(a, b) { + if (typeof a === "string" && typeof b === "string") return fold(a) === fold(b); + if (typeof a === "number" || typeof b === "number") return Number(a ?? 0) === Number(b ?? 0); + return a === b; +} +const truthy = (value) => !(value === false || value === null || value === undefined || value === 0 || value === "" || Number.isNaN(value)); +const asString = (value) => (value === null || value === undefined ? "" : String(value)); + +const FUNCTIONS = { + contains(haystack, needle) { + if (Array.isArray(haystack)) return haystack.some((item) => looseEqual(item, needle)); + return fold(asString(haystack)).includes(fold(asString(needle))); + }, + startsWith: (value, prefix) => fold(asString(value)).startsWith(fold(asString(prefix))), + fromJSON: (text) => JSON.parse(text), + format: (template, ...args) => template.replace(/\{(\d+)\}/g, (_, n) => asString(args[Number(n)])), +}; + +function evaluate(source, context) { + const tokens = tokenize(source); + let position = 0; + const peek = () => tokens[position]; + const take = (value) => { + const token = tokens[position++]; + if (value !== undefined && token?.value !== value) throw new Error(`expected ${value}`); + return token; + }; + const or = () => { + let left = and(); + while (peek()?.value === "||") { take(); const right = and(); left = truthy(left) ? left : right; } + return left; + }; + const and = () => { + let left = equality(); + while (peek()?.value === "&&") { take(); const right = equality(); left = truthy(left) ? right : left; } + return left; + }; + const equality = () => { + let left = unary(); + while (peek()?.value === "==" || peek()?.value === "!=") { + const op = take().value; + const right = unary(); + left = op === "==" ? looseEqual(left, right) : !looseEqual(left, right); + } + return left; + }; + const unary = () => (peek()?.value === "!" ? (take(), !truthy(unary())) : primary()); + const primary = () => { + const token = take(); + if (token.type === "str" || token.type === "num") return token.value; + if (token.value === "(") { const value = or(); take(")"); return value; } + if (token.type !== "id") throw new Error(`unexpected ${token.value}`); + if (peek()?.value === "(") { + take("("); + const args = []; + while (peek()?.value !== ")") { args.push(or()); if (peek()?.value === ",") take(","); } + take(")"); + return FUNCTIONS[token.value](...args); + } + if (token.value === "true" || token.value === "false") return token.value === "true"; + if (token.value === "null") return null; + let value = context[token.value] ?? null; + while (peek()?.value === ".") { take("."); const key = take().value; value = value?.[key] ?? null; } + return value; + }; + const result = or(); + assert.equal(position, tokens.length, "gate expression was not fully parsed"); + return truthy(result); +} + +const BOT = { login: "closura-t3code-upstream-sync[bot]", id: 360477638, type: "Bot" }; +const REPO = "nullStack65/t3code"; +const SYNC_BODY = "Merges pingdotgg/t3code main into the release line.\n\nDeploy: none\n"; + +// Author, repository and identity fields copied from the disposable proof PR #194. +function prEvent(overrides = {}) { + const pr = { + draft: false, + user: { login: BOT.login, id: BOT.id }, + head: { ref: "sync/upstream-2026-11-24", repo: { full_name: REPO } }, + base: { ref: "release/native-0.1.10" }, + body: SYNC_BODY, + ...overrides.pull_request, + }; + return { + github: { + repository_id: "1372173214", + repository: REPO, + event_name: "pull_request", + ref: "refs/pull/194/merge", + actor: BOT.login, + actor_id: String(BOT.id), + triggering_actor: BOT.login, + ...overrides.github, + event: { pull_request: pr }, + }, + }; +} + +function admitted(context) { + const results = WORKERS.map((job) => evaluate(gateOf(job), context)); + assert.ok(results.every((value) => value === results[0]), `workers disagree: ${results}`); + return results[0]; +} + +test("the upstream-sync App is admitted on its exact proposal shape", () => { + assert.equal(admitted(prEvent()), true); +}); + +test("PR #194 as opened is not admitted: proof branch name and no Deploy line", () => { + const pr194 = prEvent({ + pull_request: { + head: { ref: "clo1110/disposable-ci-proof-20261124", repo: { full_name: REPO } }, + body: "Throwaway draft opened by the closura-t3code-upstream-sync App to prove that an App-opened proposal triggers the required checks (CLO-1110). It will be closed unmerged.", + }, + }); + assert.equal(admitted(pr194), false); +}); + +const rejected = { + "a fork head": { pull_request: { head: { ref: "sync/upstream-2026-11-24", repo: { full_name: "someone/t3code" } } } }, + "a head repository that is missing": { pull_request: { head: { ref: "sync/upstream-2026-11-24", repo: null } } }, + "a branch without the sync prefix": { pull_request: { head: { ref: "clo1110/disposable-ci-proof-20261124", repo: { full_name: REPO } } } }, + "the sync prefix only in the middle of the branch": { pull_request: { head: { ref: "feature/sync/upstream-x", repo: { full_name: REPO } } } }, + "a base other than the release line": { pull_request: { base: { ref: "feat/assemblyai-current" } } }, + "Deploy: fleet": { pull_request: { body: "Upstream sync.\n\nDeploy: fleet\n" } }, + "both Deploy lines": { pull_request: { body: "Deploy: none\nDeploy: fleet\n" } }, + "a Deploy value that only starts with none": { pull_request: { body: "Deploy: nonesuch\n" } }, + "Deploy: none mid-line": { pull_request: { body: "We say Deploy: none here\n" } }, + "an empty body": { pull_request: { body: null } }, + "a draft": { pull_request: { draft: true } }, + "a different bot": { + pull_request: { user: { login: "dependabot[bot]", id: 49699333 } }, + github: { actor: "dependabot[bot]", actor_id: "49699333", triggering_actor: "dependabot[bot]" }, + }, + "the App's login with another id": { pull_request: { user: { login: BOT.login, id: 1 } } }, + "the App's id with another login": { pull_request: { user: { login: "closura-t3code-upstream-sync", id: BOT.id } } }, + "a lookalike login": { + pull_request: { user: { login: "closura-t3code-upstream-sync-evil[bot]", id: BOT.id } }, + github: { actor: "closura-t3code-upstream-sync-evil[bot]", triggering_actor: "closura-t3code-upstream-sync-evil[bot]" }, + }, + "another actor editing the App's PR": { github: { actor: "coderabbitai[bot]", actor_id: "136622811", triggering_actor: "coderabbitai[bot]" } }, + "the App's login with another actor id": { github: { actor_id: "1" } }, + "a re-run triggered by someone else": { github: { triggering_actor: "someone" } }, + "another repository": { github: { repository_id: "1" } }, +}; +for (const [name, overrides] of Object.entries(rejected)) { + test(`the App gate rejects ${name}`, () => { + assert.equal(admitted(prEvent(overrides)), false); + }); +} + +test("founder pull requests are admitted as before", () => { + const founder = { + pull_request: { user: { login: "nullStack65", id: 112618179 }, head: { ref: "fix/anything", repo: { full_name: REPO } }, body: "Deploy: fleet\n" }, + github: { actor: "nullStack65", actor_id: "112618179", triggering_actor: "nullStack65" }, + }; + assert.equal(admitted(prEvent(founder)), true); + assert.equal(admitted(prEvent({ ...founder, pull_request: { ...founder.pull_request, head: { ref: "x", repo: { full_name: "fork/t3code" } } } })), false); +}); + +test("push and manual runs keep the founder-only release-branch path", () => { + const push = (actor, ref) => ({ + github: { repository_id: "1372173214", repository: REPO, event_name: "push", ref, actor, actor_id: "0", triggering_actor: actor, event: {} }, + }); + assert.equal(admitted(push("nullStack65", "refs/heads/release/native-0.1.10")), true); + assert.equal(admitted(push("jeffreysmithclosura", "refs/heads/feat/assemblyai-current")), true); + assert.equal(admitted(push(BOT.login, "refs/heads/release/native-0.1.10")), false); + assert.equal(admitted(push("nullStack65", "refs/heads/sync/upstream-2026-11-24")), false); +}); diff --git a/.github/workflows/closura-arc-ci.yml b/.github/workflows/closura-arc-ci.yml index b19e8a1cc72ee..ff00c71cb02b4 100644 --- a/.github/workflows/closura-arc-ci.yml +++ b/.github/workflows/closura-arc-ci.yml @@ -45,6 +45,12 @@ jobs: # This is a public fork. Never run untrusted PR code on the private ARC LAN. # Same-repo PR + trusted human author/actor only; push and manual runs # require an authorized actor and one of the two exact branches above. + # The one non-human author is the Closura upstream-sync GitHub App + # (CLO-1110), admitted only by its exact login and numeric id, on a + # same-repo `sync/upstream-` branch into the release line, with a + # `Deploy: none` line in the body. A login ending in `[bot]` cannot be + # registered by a person. The same clause gates all three workers; + # .github/scripts/arc-ci-trust-gate.test.cjs keeps them identical. if: >- ${{ github.repository_id == '1372173214' && @@ -56,6 +62,19 @@ jobs: contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.actor) && contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.triggering_actor)) || + (github.event_name == 'pull_request' && + !github.event.pull_request.draft && + github.event.pull_request.head.repo.full_name == github.repository && + github.event.pull_request.base.ref == 'release/native-0.1.10' && + startsWith(github.event.pull_request.head.ref, 'sync/upstream-') && + github.event.pull_request.user.login == 'closura-t3code-upstream-sync[bot]' && + github.event.pull_request.user.id == 360477638 && + github.actor == 'closura-t3code-upstream-sync[bot]' && + github.actor_id == '360477638' && + github.triggering_actor == 'closura-t3code-upstream-sync[bot]' && + contains(format(fromJSON('"\n{0}\n"'), github.event.pull_request.body), fromJSON('"\nDeploy: none\n"')) && + !contains(github.event.pull_request.body, 'Deploy: fleet')) + || (github.event_name != 'pull_request' && (github.ref == 'refs/heads/feat/assemblyai-current' || github.ref == 'refs/heads/release/native-0.1.10') && @@ -217,6 +236,19 @@ jobs: contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.actor) && contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.triggering_actor)) || + (github.event_name == 'pull_request' && + !github.event.pull_request.draft && + github.event.pull_request.head.repo.full_name == github.repository && + github.event.pull_request.base.ref == 'release/native-0.1.10' && + startsWith(github.event.pull_request.head.ref, 'sync/upstream-') && + github.event.pull_request.user.login == 'closura-t3code-upstream-sync[bot]' && + github.event.pull_request.user.id == 360477638 && + github.actor == 'closura-t3code-upstream-sync[bot]' && + github.actor_id == '360477638' && + github.triggering_actor == 'closura-t3code-upstream-sync[bot]' && + contains(format(fromJSON('"\n{0}\n"'), github.event.pull_request.body), fromJSON('"\nDeploy: none\n"')) && + !contains(github.event.pull_request.body, 'Deploy: fleet')) + || (github.event_name != 'pull_request' && (github.ref == 'refs/heads/feat/assemblyai-current' || github.ref == 'refs/heads/release/native-0.1.10') && @@ -294,6 +326,19 @@ jobs: contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.event.pull_request.user.login) && contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.actor) && contains(fromJSON('["nullStack65","jeffreysmithclosura"]'), github.triggering_actor)) + || + (github.event_name == 'pull_request' && + !github.event.pull_request.draft && + github.event.pull_request.head.repo.full_name == github.repository && + github.event.pull_request.base.ref == 'release/native-0.1.10' && + startsWith(github.event.pull_request.head.ref, 'sync/upstream-') && + github.event.pull_request.user.login == 'closura-t3code-upstream-sync[bot]' && + github.event.pull_request.user.id == 360477638 && + github.actor == 'closura-t3code-upstream-sync[bot]' && + github.actor_id == '360477638' && + github.triggering_actor == 'closura-t3code-upstream-sync[bot]' && + contains(format(fromJSON('"\n{0}\n"'), github.event.pull_request.body), fromJSON('"\nDeploy: none\n"')) && + !contains(github.event.pull_request.body, 'Deploy: fleet')) ) || ( @@ -530,3 +575,9 @@ jobs: - name: Guard the parallel coverage shell: bash run: node .github/scripts/arc-ci-coverage.cjs + + # Proves the worker gates still admit only the founders and the exact + # upstream-sync App shape, and that all three workers share one gate. + - name: Test the ARC trust gate + shell: bash + run: node --test .github/scripts/arc-ci-trust-gate.test.cjs From da5f239763b3200012e13ebc0fdf762be76e21e6 Mon Sep 17 00:00:00 2001 From: nullStack65 <112618179+nullStack65@users.noreply.github.com> Date: Tue, 24 Nov 2026 03:08:49 +0000 Subject: [PATCH 2/2] fix(ci): parse the App's Deploy line exactly as the deploy-line job does Review finding F1 (Grok 4.7): the expression denylist only rejected the spaced 'Deploy: fleet' string, so 'deploy: none' plus 'Deploy:fleet', or a fenced 'Deploy: none', passed the ARC gate while the deploy-line job read fleet. Each worker now runs, first and before checkout, the same awk parser on the event payload for the App and requires exactly one 'Deploy: none'. Tests run that real step script against those bodies. Model: claude-opus-5-5 Task: implementation Agent: Claude Code implementation sub-agent (CLO-1110) Harness: t3/claude-code Co-Authored-By: Claude Opus 5.5 --- .github/scripts/arc-ci-trust-gate.test.cjs | 47 +++++++++++++++++ .github/workflows/closura-arc-ci.yml | 60 ++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/.github/scripts/arc-ci-trust-gate.test.cjs b/.github/scripts/arc-ci-trust-gate.test.cjs index b07b22e36c9e0..7facc3d322fd5 100644 --- a/.github/scripts/arc-ci-trust-gate.test.cjs +++ b/.github/scripts/arc-ci-trust-gate.test.cjs @@ -209,3 +209,50 @@ test("push and manual runs keep the founder-only release-branch path", () => { assert.equal(admitted(push(BOT.login, "refs/heads/release/native-0.1.10")), false); assert.equal(admitted(push("nullStack65", "refs/heads/sync/upstream-2026-11-24")), false); }); + +// The `if:` clause is a prefilter; the first step of each worker parses the +// Deploy line exactly as closura-deploy-line.yml does. Run that real script. +const { spawnSync } = require("node:child_process"); +const STEP = "Require Deploy none from the upstream-sync App"; + +function deployStepOf(job) { + const start = workflow.indexOf(`\n ${job}:\n`); + const steps = workflow.indexOf("\n steps:\n", start); + const first = workflow.slice(steps).match(/\n - name: (.*)\n[\s\S]*?\n run: \|\n((?: .*\n|\n)*)/); + assert.equal(first?.[1], STEP, `${job} must run the Deploy-line step first, before checkout`); + return first[2].split("\n").map((line) => line.slice(10)).join("\n"); +} + +function stepPasses(body) { + const scripts = WORKERS.map(deployStepOf); + assert.ok(scripts.every((script) => script === scripts[0]), "workers run different Deploy-line steps"); + const run = spawnSync("bash", ["-c", scripts[0]], { env: { PATH: process.env.PATH, PR_BODY: body ?? "" } }); + return run.status === 0; +} + +const admittedEndToEnd = (body) => admitted(prEvent({ pull_request: { body } })) && stepPasses(body); + +test("the App's sync body passes the gate and the Deploy-line step", () => { + assert.equal(admittedEndToEnd(SYNC_BODY), true); + assert.equal(admittedEndToEnd("Deploy: none"), true); +}); + +const smuggled = { + "a fenced Deploy: none with Deploy:fleet": "```\nDeploy: none\n```\nDeploy:fleet\n", + "lowercase deploy: none with Deploy:fleet": "deploy: none\nDeploy:fleet\n", + "a tab before fleet": "deploy: none\nDeploy:\tfleet\n", + "Deploy: none only inside a fence": "~~~\nDeploy: none\n~~~\n", + "two Deploy: none lines": "Deploy: none\nDeploy: none\n", +}; +for (const [name, body] of Object.entries(smuggled)) { + test(`the App is rejected for ${name}`, () => { + assert.equal(admittedEndToEnd(body), false); + }); +} + +test("the Deploy-line step accepts the forms the deploy-line job reads as none", () => { + assert.equal(stepPasses("Deploy:none\r\n"), true); + assert.equal(stepPasses("Deploy: none \n"), true); + assert.equal(stepPasses("Deploy: fleet\n"), false); + assert.equal(stepPasses(""), false); +}); diff --git a/.github/workflows/closura-arc-ci.yml b/.github/workflows/closura-arc-ci.yml index ff00c71cb02b4..fdb2aa80e8b3e 100644 --- a/.github/workflows/closura-arc-ci.yml +++ b/.github/workflows/closura-arc-ci.yml @@ -90,6 +90,26 @@ jobs: NODE_OPTIONS: "--max-old-space-size=3072" GOMAXPROCS: "2" steps: + # The App's `if:` clause above is only a prefilter. Before any checkout, + # parse its Deploy line exactly as closura-deploy-line.yml does (one + # unfenced `^Deploy:` line, whitespace stripped) and require `none`. Reads + # only the event payload; runs no PR code. + - name: Require Deploy none from the upstream-sync App + if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.id == 360477638 }} + shell: bash + env: + PR_BODY: ${{ github.event.pull_request.body }} + run: | + set -euo pipefail + lines="$(printf '%s\n' "${PR_BODY:-}" | tr -d '\r' \ + | awk '/^[[:space:]]*(```|~~~)/ { fenced = !fenced; next } !fenced && /^Deploy:/' || true)" + count="$(printf '%s' "$lines" | grep -c . || true)" + value="$(printf '%s' "$lines" | sed -E 's/^Deploy:[[:space:]]*//; s/[[:space:]]+$//')" + if test "$count" -ne 1 || test "$value" != none; then + echo "::error::The upstream-sync App runs on ARC only with exactly one 'Deploy: none' line." + exit 1 + fi + - name: Checkout trusted source (no persistent credentials) uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -264,6 +284,26 @@ jobs: NODE_OPTIONS: "--max-old-space-size=3072" GOMAXPROCS: "2" steps: + # The App's `if:` clause above is only a prefilter. Before any checkout, + # parse its Deploy line exactly as closura-deploy-line.yml does (one + # unfenced `^Deploy:` line, whitespace stripped) and require `none`. Reads + # only the event payload; runs no PR code. + - name: Require Deploy none from the upstream-sync App + if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.id == 360477638 }} + shell: bash + env: + PR_BODY: ${{ github.event.pull_request.body }} + run: | + set -euo pipefail + lines="$(printf '%s\n' "${PR_BODY:-}" | tr -d '\r' \ + | awk '/^[[:space:]]*(```|~~~)/ { fenced = !fenced; next } !fenced && /^Deploy:/' || true)" + count="$(printf '%s' "$lines" | grep -c . || true)" + value="$(printf '%s' "$lines" | sed -E 's/^Deploy:[[:space:]]*//; s/[[:space:]]+$//')" + if test "$count" -ne 1 || test "$value" != none; then + echo "::error::The upstream-sync App runs on ARC only with exactly one 'Deploy: none' line." + exit 1 + fi + - name: Checkout trusted source (no persistent credentials) uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -357,6 +397,26 @@ jobs: NODE_OPTIONS: "--max-old-space-size=3072" GOMAXPROCS: "2" steps: + # The App's `if:` clause above is only a prefilter. Before any checkout, + # parse its Deploy line exactly as closura-deploy-line.yml does (one + # unfenced `^Deploy:` line, whitespace stripped) and require `none`. Reads + # only the event payload; runs no PR code. + - name: Require Deploy none from the upstream-sync App + if: ${{ github.event_name == 'pull_request' && github.event.pull_request.user.id == 360477638 }} + shell: bash + env: + PR_BODY: ${{ github.event.pull_request.body }} + run: | + set -euo pipefail + lines="$(printf '%s\n' "${PR_BODY:-}" | tr -d '\r' \ + | awk '/^[[:space:]]*(```|~~~)/ { fenced = !fenced; next } !fenced && /^Deploy:/' || true)" + count="$(printf '%s' "$lines" | grep -c . || true)" + value="$(printf '%s' "$lines" | sed -E 's/^Deploy:[[:space:]]*//; s/[[:space:]]+$//')" + if test "$count" -ne 1 || test "$value" != none; then + echo "::error::The upstream-sync App runs on ARC only with exactly one 'Deploy: none' line." + exit 1 + fi + - name: Checkout trusted source (no persistent credentials) uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: