File tree Expand file tree Collapse file tree 4 files changed +24
-24
lines changed
Expand file tree Collapse file tree 4 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Merge Branch
22
33on :
44 push :
5- branches : [ imgbot ]
5+ branches : [imgbot]
66
77jobs :
88 merge-branch :
1515 github_token : ${{ github.token }}
1616 source_ref : ${{ github.ref }}
1717 target_branch : main
18- commit_message_template : ' [Automated] Merged {source_ref} into {target_branch}'
18+ commit_message_template : " [Automated] Merged {source_ref} into {target_branch}"
Original file line number Diff line number Diff line change @@ -2,22 +2,22 @@ name: Prettier
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66
77jobs :
88 prettier :
99 runs-on : ubuntu-latest
1010 if : github.repository == 'doocs/advanced-java'
1111 steps :
12- - name : Checkout
13- uses : actions/checkout@v2
14- with :
15- ref : ${{ github.head_ref }}
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ ref : ${{ github.head_ref }}
1616
17- - name : Prettify
18- uses : creyD/prettier_action@v3.3
19- with :
20- prettier_options : --write **/*.{md}
21- commit_message : ' style: prettify code or document'
22- env :
23- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ - name : Prettify
18+ uses : creyD/prettier_action@v3.3
19+ with :
20+ prettier_options : --write **/*.{md}
21+ commit_message : " style: prettify code or document"
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11name : Automatic Rebase
22
3- on :
3+ on :
44 issue_comment :
55 types : [created]
66
@@ -10,11 +10,11 @@ jobs:
1010 if : github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
1111 runs-on : ubuntu-latest
1212 steps :
13- - name : Checkout the latest code
14- uses : actions/checkout@v2
15- with :
16- fetch-depth : 0
17- - name : Automatic Rebase
18- uses : cirrus-actions/rebase@1.4
19- env :
20- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13+ - name : Checkout the latest code
14+ uses : actions/checkout@v2
15+ with :
16+ fetch-depth : 0
17+ - name : Automatic Rebase
18+ uses : cirrus-actions/rebase@1.4
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Sync
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66
77jobs :
88 build :
You can’t perform that action at this time.
0 commit comments