Merge pull request #2431 from zeitgeistpm/tr-release-fix #527
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync staging to test-staging | |
on: | |
push: | |
branches: | |
- staging | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- uses: actions/checkout@v3 | |
- name: open-pr | |
id: open-pr | |
uses: repo-sync/pull-request@v2 | |
with: | |
source_branch: "staging" | |
destination_branch: "test-staging" | |
pr_title: "Pulling ${{ github.ref }} into test-staging" | |
pr_label: "automerge" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: automerge | |
uses: pascalgn/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULL_REQUEST: ${{ steps.open-pr.outputs.pr_number }} |