File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
github_token : ${{ github.token }}
16
16
source_ref : ${{ github.ref }}
17
- target_branch : ' master '
17
+ target_branch : ' main '
18
18
commit_message_template : ' [Automated] Merged {source_ref} into {target_branch}'
Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
push :
6
6
branches :
7
- - master
7
+ - main
8
8
9
9
jobs :
10
10
prettier :
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 : [ master ]
5
+ branches : [ main ]
6
6
7
7
jobs :
8
8
build :
23
23
gitee-username : yanglbme
24
24
gitee-password : ${{ secrets.GITEE_PASSWORD }}
25
25
gitee-repo : doocs/advanced-java
26
+ branch : main
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ actions status] ( https://github.com/doocs/advanced-java/workflows/Sync/badge.svg )] ( https://github.com/doocs/advanced-java/actions?query=workflow%3ASync )
4
4
[ ![ 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)
6
6
[ ![ PRs Welcome] ( https://badgen.net/badge/PRs/welcome/green )] ( http://makeapullrequest.com )
7
7
[ ![ doocs] ( https://badgen.net/badge/organization/join%20us/green )] ( https://doocs.github.io/#/?id=how-to-join )
8
8
[ ![ github] ( https://badgen.net/badge/⭐/GitHub/blue )] ( https://github.com/doocs/advanced-java )
9
9
[ ![ gitee] ( https://badgen.net/badge/⭐/Gitee/blue )] ( https://gitee.com/doocs/advanced-java )
10
10
[ ![ stars] ( https://badgen.net/github/stars/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/stargazers )
11
11
[ ![ 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)
13
13
[ ![ issues] ( https://badgen.net/github/open-issues/doocs/advanced-java )] ( https://github.com/doocs/advanced-java/issues )
14
14
[ ![ 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 )
15
15
[ ![ 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 105
105
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 ) ) {
106
106
url = vm . route . file
107
107
. replace ( "raw.githubusercontent.com" , "github.com" )
108
- . replace ( / \/ m a s t e r / , "/blob/master " ) ;
108
+ . replace ( / \/ m a i n / , "/blob/main " ) ;
109
109
} else {
110
110
url =
111
- "https://github.com/doocs/advanced-java/blob/master /" +
111
+ "https://github.com/doocs/advanced-java/blob/main /" +
112
112
vm . route . file ;
113
113
}
114
114
You can’t perform that action at this time.
0 commit comments