From 2277d424e54ad10fbc18a927f4c2530a08a9b2cf Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Wed, 13 Nov 2024 22:00:24 -0600 Subject: [PATCH] skip cert writing and variable setting if concat certs starts with ; --- telemetry-impls/summarize/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemetry-impls/summarize/action.yml b/telemetry-impls/summarize/action.yml index 16ba17d..79180ba 100644 --- a/telemetry-impls/summarize/action.yml +++ b/telemetry-impls/summarize/action.yml @@ -40,7 +40,7 @@ runs: # to avoid issues with quoting and multiline text. # If these env vars are not set, then otel-cli will not attempt to use mTLS. - name: Write certificate files for mTLS - if: "${{ inputs.cert_concat }} != ''" + if: ${{ !startsWith(inputs.cert_concat, ';') }} shell: bash run: | mkdir -p /tmp/certs