From d674e9c45acbb40a5c16ea1754999212a647b619 Mon Sep 17 00:00:00 2001 From: "Gross, Lukas" Date: Fri, 17 Jan 2025 14:18:22 +0100 Subject: [PATCH] ***Possible fix for sarif format execution in build pipeline --- .ci/pipeline_definitions | 4 +--- .ci/verify | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/pipeline_definitions b/.ci/pipeline_definitions index bec3593a29..b57c8f0307 100644 --- a/.ci/pipeline_definitions +++ b/.ci/pipeline_definitions @@ -39,8 +39,6 @@ dashboard: steps: verify: image: 'node:22-alpine3.20' - vars: - SARIF: 'no' jobs: head-update: traits: @@ -73,5 +71,5 @@ dashboard: steps: verify: vars: - SARIF: 'yes' + LINT_SARIF: 'yes' diff --git a/.ci/verify b/.ci/verify index 0102bba2bc..7171d70fbb 100755 --- a/.ci/verify +++ b/.ci/verify @@ -67,7 +67,7 @@ yarn constraints yarn workspace @gardener-dashboard/charts run test # Run linting -if [ "$SARIF" = "yes" ] ; then +if [ "${LINT_SARIF+yes}" = yes ] ; then # supposed to be run in release jobs make lint-sarif else