Skip to content

Commit 065f403

Browse files
committed
revert: ci
1 parent a6145c0 commit 065f403

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/auto-fix.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,37 @@
11
name: auto-fix
22

33
on:
4-
pull_request:
4+
push:
55
branches:
66
- master
7-
push:
7+
pull_request:
88
branches:
99
- master
1010

1111
permissions:
1212
contents: write
13-
1413
jobs:
1514
auto-fix:
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v4
19-
with:
20-
ref: ${{ github.event.pull_request.head.ref }}
21-
clean: false
2218

2319
- uses: pnpm/action-setup@v4
2420

2521
- uses: actions/setup-node@v4
2622
with:
2723
node-version: 20
2824
cache: pnpm
29-
3025
- run: pnpm install
31-
3226
# lint
3327
- name: Auto-fix
3428
run: pnpm run lint:fix
3529

3630
# commit
3731
- name: Commit
38-
uses: stefanzweifel/git-auto-commit-action@v5
32+
uses: EndBug/add-and-commit@v9
3933
with:
40-
commit_message: 'ci(lint): auto-fix'
34+
message: "ci(lint): auto-fix"
35+
default_author: github_actions
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)