mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
Build/Test Tools: Increase timeout value for Slack message jobs.
Because of how dependent jobs and queuing works in GitHub Actions, it’s common for workflows to be completed with the exception of sending Slack notifications. “The waiting is the hardest part”, and occasionally these jobs hit the `10` minute timeout value before their turn comes up. See #62221. git-svn-id: https://develop.svn.wordpress.org/trunk@60053 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
43a3e84d18
commit
86d064a72c
8
.github/workflows/slack-notifications.yml
vendored
8
.github/workflows/slack-notifications.yml
vendored
@ -165,7 +165,7 @@ jobs:
|
||||
name: Failure notifications
|
||||
permissions: {}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 20
|
||||
needs: [ prepare ]
|
||||
if: ${{ needs.prepare.outputs.previous_conclusion != 'first-failure' && inputs.calling_status == 'failure' || failure() }}
|
||||
|
||||
@ -182,7 +182,7 @@ jobs:
|
||||
name: Fixed notifications
|
||||
permissions: {}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 20
|
||||
needs: [ prepare ]
|
||||
if: ${{ contains( fromJson( '["failure", "cancelled", "none"]' ), needs.prepare.outputs.previous_conclusion ) && inputs.calling_status == 'success' && success() }}
|
||||
|
||||
@ -199,7 +199,7 @@ jobs:
|
||||
name: Success notifications
|
||||
permissions: {}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 20
|
||||
needs: [ prepare ]
|
||||
if: ${{ inputs.calling_status == 'success' && success() }}
|
||||
|
||||
@ -216,7 +216,7 @@ jobs:
|
||||
name: Cancelled notifications
|
||||
permissions: {}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 20
|
||||
needs: [ prepare ]
|
||||
if: ${{ inputs.calling_status == 'cancelled' || cancelled() }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user