Skip to content

The open-source app everyone uses to manage agents at work

ci: clarify fail-fast lockfile refresh behavior

zvictoref0e08b8ed54
diff --git a/.github/workflows/refresh-lockfile.yml b/.github/workflows/refresh-lockfile.yml
index 5423cd5695..079fdd4e94 100644
--- a/.github/workflows/refresh-lockfile.yml
+++ b/.github/workflows/refresh-lockfile.yml
@@ -57,7 +57,11 @@ jobs:
git config user.email "[email protected]"
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