Skip to content

Commit

Permalink
PI-2551 Fix reminder appearing when there are no deployments (#4263)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl authored Sep 27, 2024
1 parent f47151e commit be2c4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '. |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit be2c4bb

Please sign in to comment.