Skip to content

Commit 79b3938

Browse files
committed
config-pr-2-confirm.yml: Check that version is empty, not just null
1 parent 24ce3c5 commit 79b3938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/config-pr-2-confirm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: |
7070
version=$(yq '.version' metadata.yaml)
7171
72-
if [[ "${version}" == "null" ]]; then
72+
if [[ "${version}" == "null" || "${version}" == "" ]]; then
7373
echo "before=null" >> $GITHUB_OUTPUT
7474
echo "after=1.0" >> $GITHUB_OUTPUT
7575
exit 0

0 commit comments

Comments
 (0)