Skip to content
This repository was archived by the owner on May 3, 2025. It is now read-only.

Commit b1256d5

Browse files
committed
fix(ci): update push command in format workflow
1 parent 33e12e2 commit b1256d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
git add .
3232
if ! git diff-index --quiet HEAD; then
3333
git commit -m 'Format code with Prettier'
34-
git push
34+
git push origin "HEAD:${{ github.head_ref }}"
3535
fi
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)