diff --git a/.github/workflows/sync-master-main.yaml b/.github/workflows/sync-master-main.yaml new file mode 100644 index 000000000..a55454eff --- /dev/null +++ b/.github/workflows/sync-master-main.yaml @@ -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