Changeset 56780
- Timestamp:
- 10/04/2023 07:12:15 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/slack-notifications.yml
r56537 r56780 72 72 }); 73 73 74 if ( '${{ inputs.calling_status }}' == 'failure' && workflow_run.data.run_attempt == 1 ) { 75 return 'first-failure'; 76 } 77 74 78 // When a workflow has been restarted to fix a failure, check the previous run attempt. 75 79 if ( workflow_run.data.run_attempt > 1 ) { … … 158 162 timeout-minutes: 5 159 163 needs: [ prepare ] 160 if: ${{ inputs.calling_status == 'failure' || failure() }}164 if: ${{ needs.prepare.outputs.previous_conclusion != 'first-failure' && inputs.calling_status == 'failure' || failure() }} 161 165 162 166 steps:
Note: See TracChangeset
for help on using the changeset viewer.