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

    r54650 r54674  
    265265              repo: context.repo.repo,
    266266              workflow_id: 'failed-workflow.yml',
    267               ref: '${{ github.ref_name }}',
     267              ref: 'trunk',
    268268              inputs: {
    269269                run_id: '${{ github.run_id }}'
Note: See TracChangeset for help on using the changeset viewer.