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

    r54650 r54674  
    124124              repo: context.repo.repo,
    125125              workflow_id: 'failed-workflow.yml',
    126               ref: '${{ github.ref_name }}',
     126              ref: 'trunk',
    127127              inputs: {
    128128                run_id: '${{ github.run_id }}'
Note: See TracChangeset for help on using the changeset viewer.