Skip to content

Commit 25bfb75

Browse files
committed
z\dws
1 parent f4e4c0f commit 25bfb75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/promote-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
echo "${{ github.ref_name }}"
3939
- name: 'Check promotion type'
4040
run: |
41-
if [[ "${{ inputs.promotion-type }} != 'release' || ${{ inputs.promotion-type }} != 'preview'" ]]; then
41+
if [[ "${{ inputs.promotion-type }}" != 'release' || "${{ inputs.promotion-type }}" != 'preview' ]]; then
4242
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
4343
exit 1
4444
fi
4545
- name: 'Check source branch'
4646
run: |
47-
if [[ "${{ env.isdevelopment-branch }} == 'false' && ${{ env.is-maintenance-branch }} == 'false'" ]]; then
47+
if [[ ${{ env.isdevelopment-branch }} == 'false' && ${{ env.is-maintenance-branch }} == 'false' ]]; then
4848
echo "Invalid source branch: ${{ github.ref_name }}"
4949
exit 1
5050
fi

0 commit comments

Comments
 (0)