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: with:
github_token: ${{ github.token }} github_token: ${{ github.token }}
source_ref: ${{ github.ref }} source_ref: ${{ github.ref }}
target_branch: 'master' target_branch: 'main'
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}' commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'

View File

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

View File

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

View File

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