We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4bb28 commit 7f85f6fCopy full SHA for 7f85f6f
.github/workflows/promote-branch.yml
@@ -37,7 +37,7 @@ jobs:
37
echo "promotion-type=${{ inputs.promotion-type }}"
38
echo "${{ github.ref_name }}"
39
- name: 'Check promotion type'
40
- if: "!(${{ inputs.promotion-type }} != 'preview' || ${{ inputs.promotion-type }} != 'release')"
+ if: "!(${{ inputs.promotion-type }} == 'preview' || ${{ inputs.promotion-type }} == 'release')"
41
run: |
42
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
43
exit 1
0 commit comments