Skip to content

Commit 6c0139d

Browse files
committed
ci: auto-fix
1 parent a545e2a commit 6c0139d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/auto-fix.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: auto-fix
22

33
on:
44
pull_request:
5+
branches:
6+
- master
57
push:
68
branches:
79
- master
@@ -14,8 +16,6 @@ jobs:
1416
runs-on: ubuntu-latest
1517
steps:
1618
- uses: actions/checkout@v4
17-
with:
18-
ref: ${{ github.head_ref }}
1919

2020
- uses: pnpm/action-setup@v4
2121

@@ -33,5 +33,6 @@ jobs:
3333
# commit
3434
- name: Commit
3535
uses: stefanzweifel/git-auto-commit-action@v5
36+
if: ${{ github.ref != 'refs/heads/master' }}
3637
with:
37-
commit_message: "ci(lint): auto-fix"
38+
commit_message: 'ci(lint): auto-fix'

0 commit comments

Comments
 (0)