From aae05b33899a7cffcecfb8f78344ae501f3cb407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Thu, 25 Jan 2024 11:28:41 +0200 Subject: [PATCH] UHF-9380: Debugging... --- .github/workflows/npm-audit.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.yml index ae8789125..275a32694 100644 --- a/.github/workflows/npm-audit.yml +++ b/.github/workflows/npm-audit.yml @@ -45,7 +45,7 @@ jobs: npm audit fix --package-lock-only --loglevel=error; # The npm audit command will exit with a 0 exit code if no vulnerabilities were found. - if [ $? -gt 0 ]; then echo "BC_BREAK=true" >> $GITHUB_OUTPUT; fi; + if [ $? -gt 0 ]; then echo "BC_BREAK=:exclamation: NPM Audit fix couldn't fix all vulnerabilities. Fix them manually by running `npm audit fix --force` and test the functionalities thoroughly as there might be breaking changes. :exclamation:" >> $GITHUB_OUTPUT; fi; set -e - name: Create Pull Request @@ -59,11 +59,9 @@ jobs: labels: auto-update body: | # Npm audit - - {{#if steps.npm_audit_fix.outputs.BC_BREAK == 'true'}} - :exclamation: NPM Audit fix couldn't fix all vulnerabilities. Fix them manually by running `npm audit fix --force` and test the functionalities thoroughly as there might be breaking changes. :exclamation: - {{/if}} + ${{ steps.npm_audit_fix.outputs.BC_BREAK }} + ## How to install * Update the HDBT theme