Make WordPress Core

Changeset 54674


Ignore:
Timestamp:
10/24/2022 03:18:37 PM (17 months 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.

Location:
trunk/.github/workflows
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r54650 r54674  
    208208              repo: context.repo.repo,
    209209              workflow_id: 'failed-workflow.yml',
    210               ref: '${{ github.ref_name }}',
     210              ref: 'trunk',
    211211              inputs: {
    212212                run_id: '${{ github.run_id }}'
  • 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 }}'
  • 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 }}'
  • trunk/.github/workflows/php-compatibility.yml

    r54649 r54674  
    144144              repo: context.repo.repo,
    145145              workflow_id: 'failed-workflow.yml',
    146               ref: '${{ github.ref_name }}',
     146              ref: 'trunk',
    147147              inputs: {
    148148                run_id: '${{ github.run_id }}'
  • 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 }}'
  • trunk/.github/workflows/test-coverage.yml

    r54650 r54674  
    219219              repo: context.repo.repo,
    220220              workflow_id: 'failed-workflow.yml',
    221               ref: '${{ github.ref_name }}',
     221              ref: 'trunk',
    222222              inputs: {
    223223                run_id: '${{ github.run_id }}'
  • 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.