Skip to content

Commit 41f06a6

Browse files
committed
xczad
1 parent 72cc612 commit 41f06a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/promote-branch.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,5 +171,8 @@ jobs:
171171
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 }}
172172
git push --set-upstream origin ${{ needs.workflow-variables.outputs.target-branch }}
173173
- name: 'Create PR'
174+
env:
175+
base-branch: ${{ needs.workflow-variables.outputs.base-branch }}
176+
current-branch: ${{ github.ref_name }}
174177
run: |
175-
gh pr create --title "Promote ${{ needs.workflow-variables.outputs.current-branch }} to ${{ needs.workflow-variables.outputs.target-branch }}" --fill-verbose --base ${{ needs.workflow-variables.outputs.target-branch }} --head ${{ needs.workflow-variables.outputs.current-branch }}
178+
gh pr create --title "Promote ${{ needs.workflow-variables.outputs.base-branch }} to ${{ needs.workflow-variables.outputs.target-branch }}" --fill-verbose --base ${{ needs.workflow-variables.outputs.target-branch }} --head ${{ needs.workflow-variables.outputs.current-branch }}

0 commit comments

Comments
 (0)