diff --git a/.github/workflows/sync_branches.yml b/.github/workflows/sync_branches.yml new file mode 100644 index 0000000..71a851b --- /dev/null +++ b/.github/workflows/sync_branches.yml @@ -0,0 +1,21 @@ +name: Sync branches + +on: + push: + branches: + - github + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Sync branches + uses: TreTuna/sync-branches@1.4.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FROM_BRANCH: github + TO_BRANCH: main