Make WordPress Core


Ignore:
Timestamp:
08/16/2026 10:27:51 PM (2 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/upgrade-develop-testing.yml

    r63230 r63310  
    141141      SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
    142142      SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
     143      SLACK_GHA_TIMEOUT_WEBHOOK: ${{ secrets.SLACK_GHA_TIMEOUT_WEBHOOK }}
    143144
    144145  failed-workflow:
Note: See TracChangeset for help on using the changeset viewer.