Make WordPress Core


Ignore:
Timestamp:
08/16/2026 10:27:51 PM (3 weeks ago)
Author:
desrosj
Message:

Build/Test Tools: Distinguish between cancelled and timed out workflow runs.

GitHub Actions expressions and contexts do not currently expose the details about a workflow run necessary to determine whether a workflow has timed out. Instead, all timed out runs are considered cancelled. However, the REST API does return a timed_out conclusion in this scenario.

This creates a new job for the timed_out conlclusion and adjusts the logic for cancelled Slack notifications to provide more useful notifications.

Props lancewillett.
See #65845.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/install-testing.yml

    r62742 r63310  
    153153      SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
    154154      SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
     155      SLACK_GHA_TIMEOUT_WEBHOOK: ${{ secrets.SLACK_GHA_TIMEOUT_WEBHOOK }}
    155156
    156157  failed-workflow:
Note: See TracChangeset for help on using the changeset viewer.