diff --git a/.github/workflows/branch-merge.yml b/.github/workflows/branch-merge.yml index 05f7b15..684776c 100644 --- a/.github/workflows/branch-merge.yml +++ b/.github/workflows/branch-merge.yml @@ -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}' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2954be..0c33223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Build and Deploy on: push: - branches: [ master ] + branches: [ main ] jobs: build-and-deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index e71675e..03f486d 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - master + - main jobs: prettier: diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 0a827f1..3d03b41 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -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