name: Sync Back to Development on: push: branches: - master jobs: sync-branches: runs-on: ubuntu-latest name: Syncing branches steps: - name: Checkout uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1 - name: Opening pull request run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'Internal' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}