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/end-to-end-tests.yml

    r54650 r54674  
    156156              repo: context.repo.repo,
    157157              workflow_id: 'failed-workflow.yml',
    158               ref: '${{ github.ref_name }}',
     158              ref: 'trunk',
    159159              inputs: {
    160160                run_id: '${{ github.run_id }}'
Note: See TracChangeset for help on using the changeset viewer.