Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
compare against "true".
Browse files Browse the repository at this point in the history
  • Loading branch information
ferenc-hechler committed Jun 12, 2024
1 parent afd60b0 commit 018084e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 018084e

Please sign in to comment.