From ef0e08b8ed54f0d88e55b245a198399bfa1ccd90 Mon Sep 17 00:00:00 2001 From: zvictor Date: Fri, 6 Mar 2026 21:49:13 -0300 Subject: [PATCH] ci: clarify fail-fast lockfile refresh behavior --- .github/workflows/refresh-lockfile.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/refresh-lockfile.yml b/.github/workflows/refresh-lockfile.yml index 5423cd56..079fdd4e 100644 --- a/.github/workflows/refresh-lockfile.yml +++ b/.github/workflows/refresh-lockfile.yml @@ -57,7 +57,11 @@ jobs: git config user.email "lockfile-bot@users.noreply.github.com" git add pnpm-lock.yaml git commit -m "chore(lockfile): refresh pnpm-lock.yaml" - git push + git push || { + echo "Push failed because master moved during lockfile refresh." + echo "A later refresh run should recompute the lockfile from the newer master state." + exit 1 + } - name: Install dependencies run: pnpm install --frozen-lockfile