Skip to content

Commit 884b1c0

Browse files
committed
Name the branch explicitly when pushing
1 parent 9701c40 commit 884b1c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,13 @@ jobs:
123123

124124
- name: Commit and push lockfile
125125
run: |
126+
set -e
126127
if git diff --quiet pnpm-lock.yaml; then
127128
echo "No lockfile changes"
128129
else
129130
git config user.name "github-actions[bot]"
130131
git config user.email "github-actions[bot]@users.noreply.github.com"
131132
git add pnpm-lock.yaml
132133
git commit -m "chore: update lockfile for release"
133-
git push
134+
git push origin changeset-release/main
134135
fi

0 commit comments

Comments
 (0)