Make WordPress Core


Ignore:
Timestamp:
08/17/2023 05:56:06 PM (13 months ago)
Author:
desrosj
Message:

Build/Test Tools: Revert Slack messaging changes.

This reverts [56404], [56405], [56406].

More testing is needed to ensure multiple messages are not sent unintentionally.

Unprops desrosj.
See #58867.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/slack-notifications.yml

    r56406 r56407  
    7272            });
    7373
    74             // All workflows will restart once when a failure is encountered. Don't notify Slack on the first failure.
    75             if ( '${{ inputs.calling_status }}' == 'failure' && workflow_run.data.run_attempt == 1 ) {
    76               return 'first-failure';
    77             }
    78 
    7974            // When a workflow has been restarted to fix a failure, check the previous run attempt.
    8075            if ( workflow_run.data.run_attempt > 1 ) {
     
    163158    timeout-minutes: 5
    164159    needs: [ prepare ]
    165     if: ${{ ( contains( fromJson( '["failure", "startup_failure"]' ), needs.prepare.outputs.previous_conclusion ) || failure() ) && needs.prepare.outputs.previous_conclusion != 'first-failure' }}
     160    if: ${{ inputs.calling_status == 'failure' || failure() }}
    166161
    167162    steps:
Note: See TracChangeset for help on using the changeset viewer.