Changeset 56407 for trunk/.github/workflows/slack-notifications.yml
- Timestamp:
- 08/17/2023 05:56:06 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/slack-notifications.yml
r56406 r56407 72 72 }); 73 73 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 79 74 // When a workflow has been restarted to fix a failure, check the previous run attempt. 80 75 if ( workflow_run.data.run_attempt > 1 ) { … … 163 158 timeout-minutes: 5 164 159 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() }} 166 161 167 162 steps:
Note: See TracChangeset
for help on using the changeset viewer.