Make WordPress Core


Ignore:
Timestamp:
01/21/2025 03:40:51 PM (17 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Switch to using local references for reusable workflows.

The benefit of this is that when PRs are made to make changes to a reusable workflow, the references doesn't need to be updated to point to the fork in order for the changed workflow to run.

A npm run grunt replace:workflow-references-local-to-remote command has also been introduced in order to convert these local references back to remote ones. This command can be used to switch release branches over to using remote workflows, as they are currently, so they continue to benefit from workflow changes in trunk without the need for continual backporting to all the branches.

Props desrosj, johnbillion

Fixes #62416

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r59587 r59673  
    3737  test-with-mysql:
    3838    name: PHP ${{ matrix.php }}
    39     uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
     39    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
    4040    permissions:
    4141      contents: read
     
    108108  test-with-mariadb:
    109109    name: PHP ${{ matrix.php }}
    110     uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
     110    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
    111111    permissions:
    112112      contents: read
     
    158158  test-innovation-releases:
    159159    name: PHP ${{ matrix.php }}
    160     uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
     160    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
    161161    permissions:
    162162      contents: read
     
    201201  specific-test-groups:
    202202    name: ${{ matrix.phpunit-test-groups }}
    203     uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
     203    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
    204204    permissions:
    205205      contents: read
     
    221221  slack-notifications:
    222222    name: Slack Notifications
    223     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     223    uses: ./.github/workflows/slack-notifications.yml
    224224    permissions:
    225225      actions: read
Note: See TracChangeset for help on using the changeset viewer.