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.

git-svn-id: https://develop.svn.wordpress.org/trunk@54674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2022-10-24 15:18:37 +00:00
parent b47ed8accb
commit 0c3cdb9a90
7 changed files with 7 additions and 7 deletions

View File

@@ -123,7 +123,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: '${{ github.ref_name }}',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
}