Skip to content

Commit 5a4bb28

Browse files
committed
testing the testing of testing
1 parent c3bc43c commit 5a4bb28

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
@@ -8,7 +8,7 @@ on:
88
options:
99
- 'preview'
1010
- 'release'
11-
description: 'Target branch to create.'
11+
description: 'Promotion type.'
1212
required: true
1313

1414
permissions:
@@ -37,7 +37,7 @@ jobs:
3737
echo "promotion-type=${{ inputs.promotion-type }}"
3838
echo "${{ github.ref_name }}"
3939
- name: 'Check promotion type'
40-
if: ${{ inputs.promotion-type }} != 'preview' && ${{ inputs.promotion-type }} != 'release'
40+
if: "!(${{ inputs.promotion-type }} != 'preview' || ${{ inputs.promotion-type }} != 'release')"
4141
run: |
4242
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
4343
exit 1

0 commit comments

Comments
 (0)