ci: clarify fail-fast lockfile refresh behavior

This commit is contained in:
zvictor
2026-03-06 21:49:13 -03:00
parent 3bcdf3e3ad
commit ef0e08b8ed

View File

@@ -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