Make WordPress Core

Changeset 54680


Ignore:
Timestamp:
10/24/2022 05:11: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.

Merges [54674] to the 6.1 branch.
See #55652.

Location:
branches/6.1
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1

  • branches/6.1/.github/workflows/coding-standards.yml

    r54679 r54680  
    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 }}'
  • branches/6.1/.github/workflows/end-to-end-tests.yml

    r54511 r54680  
    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 }}'
  • branches/6.1/.github/workflows/javascript-tests.yml

    r54511 r54680  
    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 }}'
  • branches/6.1/.github/workflows/php-compatibility.yml

    r54679 r54680  
    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 }}'
  • branches/6.1/.github/workflows/phpunit-tests.yml

    r54679 r54680  
    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 }}'
  • branches/6.1/.github/workflows/test-coverage.yml

    r54679 r54680  
    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 }}'
  • branches/6.1/.github/workflows/test-npm.yml

    r54511 r54680  
    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.