Merge pull request #4734 from HedvigInsurance/09-18-ProductCard-switc… #5001
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 Back to Staging | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
sync-branches: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# otherwise, there would be errors pushing refs to the destination repository. | |
fetch-depth: 0 | |
- name: Sync branches | |
run: | | |
git push --force-with-lease origin HEAD:staging |