Skip to content

Commit b1ee202

Browse files
fix(ci): fix detached HEAD push in lint-and-fix job
1 parent fc8646a commit b1ee202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4949
git add .
5050
git commit -m "style: auto-linting and formatting [skip ci]"
51-
git push
51+
git push origin HEAD:${{ github.ref_name }}
5252
5353
- name: Fail if changes were made
5454
if: steps.ruff.outputs.changes == 'true'

0 commit comments

Comments
 (0)