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/local-docker-environment.yml

    r59585 r59673  
    6464  build-test-matrix:
    6565    name: Build Test Matrix
    66     uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk
     66    uses: ./.github/workflows/reusable-support-json-reader-v1.yml
    6767    permissions:
    6868      contents: read
     
    7575  environment-tests-mysql:
    7676    name: PHP ${{ matrix.php }}
    77     uses: WordPress/wordpress-develop/.github/workflows/reusable-test-local-docker-environment-v1.yml@trunk
     77    uses: ./.github/workflows/reusable-test-local-docker-environment-v1.yml
    7878    permissions:
    7979      contents: read
     
    109109  slack-notifications:
    110110    name: Slack Notifications
    111     uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
     111    uses: ./.github/workflows/slack-notifications.yml
    112112    permissions:
    113113      actions: read
Note: See TracChangeset for help on using the changeset viewer.