From 86d064a72c408673b298c0b869a5713e0dba71d3 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 19 Mar 2025 13:17:06 +0000 Subject: [PATCH] Build/Test Tools: Increase timeout value for Slack message jobs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/slack-notifications.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index ed0ab52828..cf0d77a159 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -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() }}