Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita08df06

Browse files
committed
feat: rename master branch
1 parent850ca73 commita08df06

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

‎.github/workflows/branch-merge.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
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}'

‎.github/workflows/prettier.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
-master
7+
-main
88

99
jobs:
1010
prettier:
@@ -20,6 +20,6 @@ jobs:
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 }}

‎.github/workflows/sync.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sync
22

33
on:
44
push:
5-
branches:[master ]
5+
branches:[main ]
66

77
jobs:
88
build:
@@ -18,9 +18,10 @@ jobs:
1818
source-repo:"git@github.com:doocs/coding-interview.git"
1919
destination-repo:"git@gitee.com:Doocs/coding-interview.git"
2020

21-
-name:Rebuild Gitee Pages
22-
uses:mizuka-wu/gitee-pages-action@v1.0.0
21+
-name:Build Gitee Pages
22+
uses:yanglbme/gitee-pages-action@master
2323
with:
24-
repository:doocs/coding-interview
25-
cookie:${{ secrets.GITEE_COOKIE }}
26-
branch:master
24+
gitee-username:yanglbme
25+
gitee-password:${{ secrets.GITEE_PASSWORD }}
26+
gitee-repo:doocs/coding-interview
27+
branch:main

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#互联网公司 IT 技术面试题集
22

3-
[![license](https://badgen.net/github/license/doocs/leetcode?color=green)](https://github.com/doocs/coding-interview/blob/master/LICENSE)
3+
[![license](https://badgen.net/github/license/doocs/leetcode?color=green)](https://github.com/doocs/coding-interview/blob/main/LICENSE)
44
[![stars](https://badgen.net/github/stars/doocs/coding-interview)](https://github.com/doocs/coding-interview/stargazers)
55
[![issues](https://badgen.net/github/open-issues/doocs/coding-interview)](https://github.com/doocs/coding-interview/issues)
66
[![forks](https://img.shields.io/github/forks/doocs/coding-interview.svg)](https://github.com/doocs/coding-interview/network/members)

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
if(/githubusercontent\.com/.test(vm.route.file)){
5858
url=vm.route.file
5959
.replace("raw.githubusercontent.com","github.com")
60-
.replace(/\/master/,"/blob/master");
60+
.replace(/\/main/,"/blob/main");
6161
}else{
6262
url=
63-
"https://github.com/doocs/coding-interview/blob/master/"+
63+
"https://github.com/doocs/coding-interview/blob/main/"+
6464
vm.route.file;
6565
}
6666

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp