Make WordPress Core


Ignore:
Timestamp:
01/21/2025 03:40:51 PM (12 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/test-build-processes.yml

    r58345 r59673  
    3232  test-core-build-process:
    3333    name: Core running from ${{ matrix.directory }}
    34     uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk
     34    uses: ./.github/workflows/reusable-test-core-build-process.yml
    3535    permissions:
    3636      contents: read
     
    6464  test-core-build-process-macos:
    6565    name: Core running from ${{ matrix.directory }}
    66     uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk
     66    uses: ./.github/workflows/reusable-test-core-build-process.yml
    6767    permissions:
    6868      contents: read
     
    8080  test-gutenberg-build-process:
    8181    name: Gutenberg running from ${{ matrix.directory }}
    82     uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk
     82    uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml
    8383    permissions:
    8484      contents: read
     
    103103  test-gutenberg-build-process-macos:
    104104    name: Gutenberg running from ${{ matrix.directory }}
    105     uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk
     105    uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml
    106106    permissions:
    107107      contents: read
     
    118118  slack-notifications:
    119119    name: Slack Notifications
    120     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     120    uses: ./.github/workflows/slack-notifications.yml
    121121    permissions:
    122122      actions: read
Note: See TracChangeset for help on using the changeset viewer.