feat: rename master branch

This commit is contained in:
yanglbme 2020-11-23 09:38:30 +08:00
parent 8b9929f7db
commit f15ece209b
4 changed files with 5 additions and 5 deletions

View File

@ -13,5 +13,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

@ -1,7 +1,7 @@
name: Build and Deploy
on:
push:
branches: [ master ]
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest

View File

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

View File

@ -13,5 +13,5 @@ jobs:
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
source-repo: "git@github.com:doocs/md.git"
destination-repo: "git@gitee.com:Doocs/md.git"
source-repo: git@github.com:doocs/md.git
destination-repo: git@gitee.com:Doocs/md.git