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
2
2
3
3
on :
4
4
push :
5
- branches : [ imgbot ]
5
+ branches : [imgbot]
6
6
7
7
jobs :
8
8
merge-branch :
15
15
github_token : ${{ github.token }}
16
16
source_ref : ${{ github.ref }}
17
17
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
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
7
7
jobs :
8
8
prettier :
9
9
runs-on : ubuntu-latest
10
10
if : github.repository == 'doocs/advanced-java'
11
11
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 }}
16
16
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 1
1
name : Automatic Rebase
2
2
3
- on :
3
+ on :
4
4
issue_comment :
5
5
types : [created]
6
6
@@ -10,11 +10,11 @@ jobs:
10
10
if : github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
11
11
runs-on : ubuntu-latest
12
12
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
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
7
7
jobs :
8
8
build :
You can’t perform that action at this time.
0 commit comments