File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1313 with :
1414 github_token : ${{ github.token }}
1515 source_ref : ${{ github.ref }}
16- target_branch : ' master '
16+ target_branch : ' main '
1717 commit_message_template : ' [Automated] Merged {source_ref} into {target_branch}'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Java CI
33on :
44 push :
55 branches :
6- - master
6+ - main
77
88jobs :
99 test :
1717 steps :
1818 - name : Checkout project
1919 uses : actions/checkout@v2
20- with :
21- ref : master
2220 - name : Set up jdk
2321 uses : actions/setup-java@v1
2422 with :
Original file line number Diff line number Diff line change 44 pull_request :
55 push :
66 branches :
7- - master
7+ - main
88
99jobs :
1010 prettier :
2020 uses : creyD/prettier_action@v3.0
2121 with :
2222 prettier_options : --write **/*.{html,js,md}
23- commit_message : ' docs : prettify code'
23+ commit_message : ' style : prettify code'
2424 env :
2525 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 : [ master ]
5+ branches : [ main ]
66
77jobs :
88 build :
2828 gitee-password : ${{ secrets.GITEE_PASSWORD }}
2929 # 注意替换为你的 Gitee 仓库
3030 gitee-repo : doocs/data-structure-and-algorithm
31+ branch : main
You can’t perform that action at this time.
0 commit comments