From 859e88168fa60608bc2b131d26c8ebf670ee0be1 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 30 May 2024 21:25:55 +0200 Subject: [PATCH] full-loop: fail eagerly on empty --- .github/workflows/full-loop.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/full-loop.yml b/.github/workflows/full-loop.yml index 4cdf3f83..0b2cca8e 100644 --- a/.github/workflows/full-loop.yml +++ b/.github/workflows/full-loop.yml @@ -26,8 +26,7 @@ jobs: gh_to_slack_user_map: ${{ secrets.GH_TO_SLACK_USER_MAP }} - run: | set -e - echo ${{ steps.action.outputs.reviewdog-findings }} - if ((${{ steps.action.outputs.reviewdog-findings }} < 106)); then + if ((${{ fromJson(steps.action.outputs.reviewdog-findings) }} < 106)); then echo "Too few reviewdog findings" exit 1 fi