Changeset 56404
- Timestamp:
- 08/17/2023 04:59:49 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/slack-notifications.yml
r56388 r56404 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 74 79 // When a workflow has been restarted to fix a failure, check the previous run attempt. 75 80 if ( workflow_run.data.run_attempt > 1 ) { … … 158 163 timeout-minutes: 5 159 164 needs: [ prepare ] 160 if: ${{ inputs.calling_status == 'failure' || failure()}}165 if: ${{ ( inputs.calling_status == 'failure' || failure() ) && steps.previous-attempt-result.outputs.result != 'first-failure' }} 161 166 162 167 steps:
Note: See TracChangeset
for help on using the changeset viewer.