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/test-npm.yml

    r54650 r54674  
    198198              repo: context.repo.repo,
    199199              workflow_id: 'failed-workflow.yml',
    200               ref: '${{ github.ref_name }}',
     200              ref: 'trunk',
    201201              inputs: {
    202202                run_id: '${{ github.run_id }}'
Note: See TracChangeset for help on using the changeset viewer.