mirror of
https://github.com/doocs/advanced-java.git
synced 2026-08-18 10:43:29 +08:00
feat: rename master branch
This commit is contained in:
2
.github/workflows/branch-merge.yml
vendored
2
.github/workflows/branch-merge.yml
vendored
@@ -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}'
|
||||
|
||||
2
.github/workflows/prettier.yml
vendored
2
.github/workflows/prettier.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
|
||||
3
.github/workflows/sync.yml
vendored
3
.github/workflows/sync.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user