diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index dba50ade44..8b758f81fa 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -162,7 +162,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 needs: [ prepare ] - if: ${{ ( inputs.calling_status == 'failure' || failure() ) && steps.previous-attempt-result.outputs.result != 'first-failure' }} + if: ${{ ( inputs.calling_status == 'failure' || failure() ) && needs.prepare.outputs.previous_conclusion != 'first-failure' }} steps: - name: Post failure notifications to Slack