feat: rename master branch

This commit is contained in:
yanglbme
2020-11-23 09:18:16 +08:00
parent aaa12b715c
commit affac4b0e7
5 changed files with 8 additions and 7 deletions

View File

@@ -14,5 +14,5 @@ jobs:
with:
github_token: ${{ github.token }}
source_ref: ${{ github.ref }}
target_branch: 'master'
target_branch: 'main'
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'

View File

@@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main
jobs:
prettier:

View File

@@ -2,7 +2,7 @@ name: Sync
on:
push:
branches: [ master ]
branches: [ main ]
jobs:
build:
@@ -23,3 +23,4 @@ jobs:
gitee-username: yanglbme
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: doocs/advanced-java
branch: main