From 018084ec8d8eb3f48627a727618bb8ddd88386ad Mon Sep 17 00:00:00 2001 From: Ferenc Hechler Date: Wed, 12 Jun 2024 16:49:44 +0200 Subject: [PATCH] compare against "true". --- .github/workflows/check-PR.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-PR.yml b/.github/workflows/check-PR.yml index 1549f774..f28f7d4c 100644 --- a/.github/workflows/check-PR.yml +++ b/.github/workflows/check-PR.yml @@ -23,13 +23,13 @@ jobs: - name: collect existing version suffixes in values.yaml for error reportfor id: version_suffixes - if: steps.values_yaml_contains_version_suffix.outputs.result + if: steps.values_yaml_contains_version_suffix.outputs.result=="true" uses: mikefarah/yq@master with: cmd: yq '[.secretsmanagement-operator.prereleaseSuffix, .secretsmanagement-operator.sidecarPrereleaseSuffix] | filter(.!=null and .!="") | join(", ")' charts/canvas-oda/values.yaml - name: report error - if: steps.values_yaml_contains_version_suffix.outputs.result + if: steps.values_yaml_contains_version_suffix.outputs.result=="true" run: | echo "::error::values.yaml contains prereleaseSuffixes: [${{ steps.version_suffixes.outputs.result }}]" && exit 1