From 298e2700efe98861795d053bdec4d28dc3433a0a Mon Sep 17 00:00:00 2001 From: stdavis Date: Wed, 20 Mar 2024 13:26:37 -0600 Subject: [PATCH] fix: only print errors if validate fails --- .github/workflows/pull_request.redirects.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.redirects.yml b/.github/workflows/pull_request.redirects.yml index 7cea551c82..8ed5aa707b 100644 --- a/.github/workflows/pull_request.redirects.yml +++ b/.github/workflows/pull_request.redirects.yml @@ -68,6 +68,7 @@ jobs: ``` - name: 🚦 Check for errors + if: steps.validate.outputs.exitCode != 0 run: | echo "::error::Validate stderr${{ steps.validate.outputs.stderr }}" exit ${{ steps.validate.outputs.exitCode }}