Skip to content

Commit

Permalink
fix: merge before pushing to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonraid committed Sep 5, 2022
1 parent 3be6408 commit c96b9b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sync_branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
cd repo
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git .
git switch ${{ github.base_ref }}
git merge ${{ inputs.baseBranch }} --no-edit
git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git ${{ github.base_ref }}:${{ inputs.baseBranch }}
- name: report failure to slack
Expand Down

0 comments on commit c96b9b8

Please sign in to comment.