name: Sync Back to Development on: push: branches: - master permissions: contents: write pull-requests: write jobs: sync-branches: runs-on: ubuntu-latest name: Syncing branches steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 - 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 }}