diff --git a/.github/workflows/sync-main.yml b/.github/workflows/sync-main.yml new file mode 100644 index 0000000..6d3e37b --- /dev/null +++ b/.github/workflows/sync-main.yml @@ -0,0 +1,14 @@ +name: Sync main branch + +on: + push: + branches: + - master + +jobs: + mirror-to-main: + runs-on: ubuntu-latest + steps: + - uses: zofrex/mirror-branch@v1 + with: + target-branch: main diff --git a/.github/workflows/sync-master.yml b/.github/workflows/sync-master.yml new file mode 100644 index 0000000..047da6c --- /dev/null +++ b/.github/workflows/sync-master.yml @@ -0,0 +1,14 @@ +name: Sync master branch + +on: + push: + branches: + - main + +jobs: + mirror-to-main: + runs-on: ubuntu-latest + steps: + - uses: zofrex/mirror-branch@v1 + with: + target-branch: master