From c3ca4502e064e9fb67b6cd1f8b95a4c002404295 Mon Sep 17 00:00:00 2001 From: Ben Airey Date: Tue, 12 Nov 2024 13:12:54 -0600 Subject: [PATCH] store pat output, and (hopefully) cause step to fail --- .github/workflows/check-packs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check-packs.yml b/.github/workflows/check-packs.yml index cb6c504ec..53075272b 100644 --- a/.github/workflows/check-packs.yml +++ b/.github/workflows/check-packs.yml @@ -39,6 +39,11 @@ jobs: continue-on-error: true id: check-packs run: | + # Get the output for the PR comment body + panther_analysis_tool check-packs 2> errors.txt + echo "errors=`cat errors.txt`" >> $GITHUB_OUTPUT + + # Run again to get the exit code panther_analysis_tool check-packs - name: Comment PR