Skip to content

Commit fa82e17

Browse files
committed
stupid mistake, not needed there as it is a choice required
1 parent 7f85f6f commit fa82e17

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/promote-branch.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
echo "is-maintenance-branch=${{ env.is-maintenance-branch }}"
3737
echo "promotion-type=${{ inputs.promotion-type }}"
3838
echo "${{ github.ref_name }}"
39-
- name: 'Check promotion type'
40-
if: "!(${{ inputs.promotion-type }} == 'preview' || ${{ inputs.promotion-type }} == 'release')"
41-
run: |
42-
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
43-
exit 1
4439
- name: 'Check source branch'
4540
if: ${{ !env.is-development-branch }} || ${{ !env.is-maintenance-branch }}
4641
run: |

0 commit comments

Comments
 (0)