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 5c970a9 commit b466cf0Copy full SHA for b466cf0
.github/workflows/create-release.yml
@@ -23,7 +23,7 @@ jobs:
23
24
steps:
25
- name: Check For Valid Prerelease
26
- if: ${{ env.ALLOW_PRERELEASE == 'true' && github.event.inputs.is_prerelease == 'false' || github.ref == 'refs/heads/main'}}
+ if: ${{ ( env.ALLOW_PRERELEASE == 'true' && github.event.inputs.is_prerelease == 'false' ) || ( github.ref == 'refs/heads/main' && github.event.inputs.is_prerelease == 'true' ) }}
27
run: |
28
echo "Prereleases should not be triggered on the main branch, please use development or hotfix"
29
exit 1
0 commit comments