File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : format
2
+ name : Format
3
3
4
4
on :
5
5
push :
6
6
branches-ignore :
7
- - master
7
+ - main
8
8
workflow_dispatch : {}
9
9
10
10
jobs :
11
- fix :
11
+ commit :
12
+ name : Format code
12
13
runs-on : ubuntu-latest
13
14
timeout-minutes : 30
14
15
steps :
15
16
- name : Checkout
16
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
17
18
with :
18
19
ref : ${{ github.head_ref }}
19
20
token : ${{ secrets.GH_TOKEN }}
20
21
- name : Import GPG key
21
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
22
23
with :
23
24
git_user_signingkey : true
24
25
git_commit_gpgsign : true
31
32
- name : Format
32
33
run : npm run format
33
34
- name : Commit
34
- uses : stefanzweifel/git-auto-commit-action@v4
35
+ uses : stefanzweifel/git-auto-commit-action@v5
36
+ if : always()
35
37
with :
36
- commit_message : Run format
38
+ commit_message : Format code
37
39
commit_user_name : ${{ secrets.GIT_USER_NAME }}
38
40
commit_user_email : ${{ secrets.GIT_USER_EMAIL }}
39
- commit_author : ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
41
+ commit_author : ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
You can’t perform that action at this time.
0 commit comments