Make WordPress Core


Ignore:
Timestamp:
10/24/2022 03:18:37 PM (2 years ago)
Author:
desrosj
Message:

Build/Test Tools: Hardcode the ref for the workflow dispatch on failure.

This removes the dynamic aspect of the createWorkflowDispatch() call that dispatches a Failed Workflow run when another workflow encounters an issue.

By hardcoding trunk as the ref, the version of the workflow used will always be the latest, most up to date. This ensures older branches receive the bug fixes and improvements made in trunk without having to backport them.

See #55652.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r54649 r54674  
    144144              repo: context.repo.repo,
    145145              workflow_id: 'failed-workflow.yml',
    146               ref: '${{ github.ref_name }}',
     146              ref: 'trunk',
    147147              inputs: {
    148148                run_id: '${{ github.run_id }}'
Note: See TracChangeset for help on using the changeset viewer.