diff --git a/.github/workflows/main-to-master-sync.yml b/.github/workflows/main-to-master-sync.yml new file mode 100644 index 00000000..99cd85b3 --- /dev/null +++ b/.github/workflows/main-to-master-sync.yml @@ -0,0 +1,22 @@ +name: Sync Main to Master + +on: + push: + branches: + - main + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + ref: main + fetch-depth: 0 + + - name: Push changes to master + run: | + git checkout -b master + git push origin +master