ci: clarify fail-fast lockfile refresh behavior
This commit is contained in:
parent
3bcdf3e3ad
commit
ef0e08b8ed
1 changed files with 5 additions and 1 deletions
6
.github/workflows/refresh-lockfile.yml
vendored
6
.github/workflows/refresh-lockfile.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue