Skip to content

Commit c4d37b0

Browse files
openstack-k8s-ci-robotfrenzyfriday
authored andcommitted
The workflow needs -f flag to rebase and push on a branch
1 parent 58bc720 commit c4d37b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sync_branches_reusable_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
git fetch origin ${{ inputs.source-branch }}
3838
git checkout ${{ inputs.target-branch }}
3939
git rebase ${{ inputs.source-branch }}
40-
git push origin ${{ inputs.target-branch }}
40+
git push --force origin ${{ inputs.target-branch }}

0 commit comments

Comments
 (0)