From be2c4bbac60adbd6fdd475b2852d55f71d0117ff Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Fri, 27 Sep 2024 10:24:42 +0100 Subject: [PATCH] PI-2551 Fix reminder appearing when there are no deployments (#4263) --- .github/workflows/reminders.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reminders.yml b/.github/workflows/reminders.yml index d02bac675..89bb598ac 100644 --- a/.github/workflows/reminders.yml +++ b/.github/workflows/reminders.yml @@ -19,7 +19,7 @@ jobs: - name: Transform results into Slack message id: transform - if: fromJson(steps.runs.outputs.pending) != '[]' + if: steps.runs.outputs.pending != '[]' shell: bash run: | echo "result=$(echo "$pending_runs" | jq -rc '. | @@ -62,7 +62,7 @@ jobs: pending_runs: ${{ steps.runs.outputs.pending }} - name: Send message to Slack - if: fromJSON(steps.runs.outputs.pending) != '[]' + if: steps.runs.outputs.pending != '[]' uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 with: channel-id: probation-integration-notifications