File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 with :
1515 github_token : ${{ github.token }}
1616 source_ref : ${{ github.ref }}
17- target_branch : ' master '
17+ target_branch : ' main '
1818 commit_message_template : ' [Automated] Merged {source_ref} into {target_branch}'
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 :
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 :
2323 gitee-username : yanglbme
2424 gitee-password : ${{ secrets.GITEE_PASSWORD }}
2525 gitee-repo : doocs/advanced-java
26+ branch : main
Original file line number Diff line number Diff line change 22
33[ ![ actions status] ( https://github.com/doocs/advanced-java/workflows/Sync/badge.svg )] ( https://github.com/doocs/advanced-java/actions?query=workflow%3ASync )
44[ ![ actions status] ( https://github.com/doocs/advanced-java/workflows/Prettier/badge.svg )] ( https://github.com/doocs/advanced-java/actions?query=workflow%3APrettier )
5- [ ![ license] ( https://badgen.net/github/license/doocs/advanced-java?color=green )] ( https://github.com/doocs/advanced-java/blob/master /LICENSE)
5+ [ ![ license] ( https://badgen.net/github/license/doocs/advanced-java?color=green )] ( . /LICENSE)
66[ ![ PRs Welcome] ( https://badgen.net/badge/PRs/welcome/green )] ( http://makeapullrequest.com )
77[ ![ doocs] ( https://badgen.net/badge/organization/join%20us/green )] ( https://doocs.github.io/#/?id=how-to-join )
88[ ![ github] ( https://badgen.net/badge/⭐/GitHub/blue )] ( https://github.com/doocs/advanced-java )
99[ ![ gitee] ( https://badgen.net/badge/⭐/Gitee/blue )] ( https://gitee.com/doocs/advanced-java )
1010[ ![ stars] ( https://badgen.net/github/stars/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/stargazers )
1111[ ![ forks] ( https://badgen.net/github/forks/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/network/members )
12- [ ![ contributors] ( https://badgen.net/github/contributors/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/tree/master /docs/from-readers#contributors)
12+ [ ![ contributors] ( https://badgen.net/github/contributors/doocs/advanced-java )] ( . /docs/from-readers#contributors)
1313[ ![ issues] ( https://badgen.net/github/open-issues/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/issues )
1414[ ![ original] ( https://badgen.net/badge/original/%E4%B8%AD%E5%8D%8E%E7%9F%B3%E6%9D%89/red )] ( https://github.com/doocs/advanced-java )
1515[ ![ notice] ( https://badgen.net/badge/notice/%E7%BB%B4%E6%9D%83%E8%A1%8C%E5%8A%A8/red )] ( ./docs/extra-page/rights-defending-action.md )
Original file line number Diff line number Diff line change 105105 if ( / g i t h u b u s e r c o n t e n t \. c o m / . test ( vm . route . file ) ) {
106106 url = vm . route . file
107107 . replace ( "raw.githubusercontent.com" , "github.com" )
108- . replace ( / \/ m a s t e r / , "/blob/master " ) ;
108+ . replace ( / \/ m a i n / , "/blob/main " ) ;
109109 } else {
110110 url =
111- "https://github.com/doocs/advanced-java/blob/master /" +
111+ "https://github.com/doocs/advanced-java/blob/main /" +
112112 vm . route . file ;
113113 }
114114
You can’t perform that action at this time.
0 commit comments