From 614c10fce5c1dd3bc6c09f4923683fd8339d9772 Mon Sep 17 00:00:00 2001 From: Afonso Jorge Ramos Date: Sat, 10 Oct 2026 01:14:54 +0200 Subject: [PATCH] fix(ci): keep the review checkout clean for Pullfrog's checkout_pr --- .github/workflows/submission-review.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/submission-review.yml b/.github/workflows/submission-review.yml index d6fc328..dacc021 100644 --- a/.github/workflows/submission-review.yml +++ b/.github/workflows/submission-review.yml @@ -126,6 +126,8 @@ jobs: with: persist-credentials: false + # Excluded from git so the checkout stays clean: Pullfrog's + # checkout_pr refuses to switch branches over untracked files. - name: Write the prompt env: CONTEXT: ${{ needs.provenance.outputs.context }} @@ -137,6 +139,8 @@ jobs: printf '%s' "$CONTEXT" | jq . printf '```\n' } > submission-review-prompt.md + echo submission-review-prompt.md >> .git/info/exclude + test -z "$(git status --porcelain)" - name: Review uses: pullfrog/pullfrog@ad4283a862b8377cb525a0f5bf30f17c023b18ea # v0.1.98