From 4b7dc5dc4f036c5e2ff8000b5901b00f36f8f6f9 Mon Sep 17 00:00:00 2001 From: Nathan Gillett Date: Thu, 7 May 2026 21:44:59 -0500 Subject: [PATCH] fix(ci): keep conformance check green when push-back is blocked If publishing conformance artifacts back to the branch fails (protected branch or token restrictions), emit a warning and continue so the intentproof-spec check reflects conformance result rather than git push permissions. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4317742..de2f4a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,7 +149,10 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add conformance-certificate.json conformance-report.json git commit -m "chore(ci): update conformance certificate and report" - git push + if ! git push; then + echo "::warning::Unable to push conformance artifacts from this workflow context; leaving check green and relying on artifact uploads." + exit 0 + fi spec-golden-parity: runs-on: ubuntu-latest