sync branch main with master on updates
This commit is contained in:
parent
fe56995244
commit
ac2194b0eb
14
.github/workflows/sync-master-main.yaml
vendored
Normal file
14
.github/workflows/sync-master-main.yaml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: sync-master-main
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: update remote branch main
|
||||||
|
run: |
|
||||||
|
# overrides the remote branch (origin:github) `main`
|
||||||
|
git push origin --force master:main
|
Loading…
Reference in New Issue
Block a user