We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d759778 commit ec0d5b0Copy full SHA for ec0d5b0
1 file changed
.github/workflows/promote-branch.yml
@@ -206,6 +206,10 @@ jobs:
206
git switch ${{ needs.workflow-variables.outputs.base-branch }}
207
git checkout -b ${{ needs.workflow-variables.outputs.target-branch }} origin/${{ needs.workflow-variables.outputs.target-branch }} || git checkout -b ${{ needs.workflow-variables.outputs.target-branch }}
208
git push --set-upstream origin ${{ needs.workflow-variables.outputs.target-branch }}
209
+ - name: 'Rebase target onto current'
210
+ run: |
211
+ git checkout -b ${{ github.ref_name }}
212
+ git rebase ${{ needs.workflow-variables.outputs.target-branch }}
213
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
214
if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
215
env:
0 commit comments