Skip to content

Commit 86d064a

Browse files
committed
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
1 parent 43a3e84 commit 86d064a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/slack-notifications.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
name: Failure notifications
166166
permissions: {}
167167
runs-on: ubuntu-24.04
168-
timeout-minutes: 10
168+
timeout-minutes: 20
169169
needs: [ prepare ]
170170
if: ${{ needs.prepare.outputs.previous_conclusion != 'first-failure' && inputs.calling_status == 'failure' || failure() }}
171171

@@ -182,7 +182,7 @@ jobs:
182182
name: Fixed notifications
183183
permissions: {}
184184
runs-on: ubuntu-24.04
185-
timeout-minutes: 10
185+
timeout-minutes: 20
186186
needs: [ prepare ]
187187
if: ${{ contains( fromJson( '["failure", "cancelled", "none"]' ), needs.prepare.outputs.previous_conclusion ) && inputs.calling_status == 'success' && success() }}
188188

@@ -199,7 +199,7 @@ jobs:
199199
name: Success notifications
200200
permissions: {}
201201
runs-on: ubuntu-24.04
202-
timeout-minutes: 10
202+
timeout-minutes: 20
203203
needs: [ prepare ]
204204
if: ${{ inputs.calling_status == 'success' && success() }}
205205

@@ -216,7 +216,7 @@ jobs:
216216
name: Cancelled notifications
217217
permissions: {}
218218
runs-on: ubuntu-24.04
219-
timeout-minutes: 10
219+
timeout-minutes: 20
220220
needs: [ prepare ]
221221
if: ${{ inputs.calling_status == 'cancelled' || cancelled() }}
222222

0 commit comments

Comments
 (0)