diff --git a/.github/workflows/sync-platform-branch.yml b/.github/workflows/sync-platform-branch.yml new file mode 100644 index 0000000000..86d90632a1 --- /dev/null +++ b/.github/workflows/sync-platform-branch.yml @@ -0,0 +1,20 @@ +name: Sync platform branch with the main branch + +on: + push: + branches: + - main + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Sync with main + run: | + git checkout platform + git pull origin main + git push origin platform