mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
feat: rename master branch
This commit is contained in:
parent
8b9929f7db
commit
f15ece209b
2
.github/workflows/branch-merge.yml
vendored
2
.github/workflows/branch-merge.yml
vendored
@ -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}'
|
||||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
2
.github/workflows/prettier.yml
vendored
2
.github/workflows/prettier.yml
vendored
@ -4,7 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
|
4
.github/workflows/sync.yml
vendored
4
.github/workflows/sync.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user