Make WordPress Core


Ignore:
Timestamp:
11/23/2021 05:40:00 PM (3 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Lower the timeout for GitHub Actions jobs so runaway or stalled processes don't risk running for the default timeout duration of six hours.

See #53363

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/slack-notifications.yml

    r52183 r52233  
    6262    name: Prepare notifications
    6363    runs-on: ubuntu-latest
     64    timeout-minutes: 5
    6465    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event.workflow_run.event != 'pull_request' }}
    6566    outputs:
     
    130131    name: Failure notifications
    131132    runs-on: ubuntu-latest
     133    timeout-minutes: 5
    132134    needs: [ prepare ]
    133135    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'failure' || inputs.calling_status == 'failure' || failure() }}
     
    145147    name: Fixed notifications
    146148    runs-on: ubuntu-latest
     149    timeout-minutes: 5
    147150    needs: [ prepare ]
    148151    if: ${{ needs.prepare.outputs.previous_conclusion == 'failure' && ( github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || inputs.calling_status == 'success' ) && success() }}
     
    160163    name: Success notifications
    161164    runs-on: ubuntu-latest
     165    timeout-minutes: 5
    162166    needs: [ prepare ]
    163167    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || inputs.calling_status == 'success' && success() }}
     
    175179    name: Cancelled notifications
    176180    runs-on: ubuntu-latest
     181    timeout-minutes: 5
    177182    needs: [ prepare ]
    178183    if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'cancelled' || inputs.calling_status == 'cancelled' || cancelled() }}
Note: See TracChangeset for help on using the changeset viewer.