From 7cd891845e5a3f461c3dbc1487467ab5e91c1827 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 17 Aug 2023 17:17:23 +0000 Subject: [PATCH] Build/Test Tools: Use the correct variable for checking the previous conclusion. Follow up to [56404]. See #58867. git-svn-id: https://develop.svn.wordpress.org/trunk@56405 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/slack-notifications.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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