Make WordPress Core

Changeset 63518


Ignore:
Timestamp:
09/07/2026 04:16:05 PM (2 months ago)
Author:
lancewillett
Message:

Build/Test Tools: Reference the smoke check action from trunk.

Release branches call the reusable upgrade workflow from trunk, but its relative action reference resolves against the calling branch. Reference the shared smoke-check action from trunk so branches without the action can run it.

Drop the temporary sparse checkout. Limit smoke-check action path triggers to pushes because pull requests now run the version already on trunk.

Follow-up to [63517].

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/13389

Props adrianmoldovanwp, lucatume.
Fixes #66036.

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

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/install-testing.yml

    r63517 r63518  
    148148          --admin_password="${WP_ADMIN_PASSWORD}" --admin_email=me@example.org --skip-email
    149149
    150       - name: Check out the smoke check action
    151         if: ${{ ! matrix.multisite }}
    152         uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
    153         with:
    154           path: ci-tools
    155           sparse-checkout: .github/actions
    156           persist-credentials: false
    157 
    158150      - name: Post-install smoke check
    159151        # A network's domain lives in wp-config.php and the database, not just an option.
    160152        if: ${{ ! matrix.multisite }}
    161         uses: ./ci-tools/.github/actions/smoke-check
     153        uses: WordPress/wordpress-develop/.github/actions/smoke-check@trunk # zizmor: ignore[unpinned-uses]
    162154        with:
    163155          admin-user: ${{ env.WP_ADMIN_USER }}
  • trunk/.github/workflows/reusable-upgrade-testing.yml

    r63517 r63518  
    142142        run: wp core version
    143143
    144       - name: Check out the smoke check action
    145         if: ${{ ! inputs.multisite }}
    146         uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
    147         with:
    148           path: ci-tools
    149           sparse-checkout: .github/actions
    150           persist-credentials: false
    151 
    152144      - name: Post-upgrade smoke check
    153145        # A network's domain lives in wp-config.php and the database, not just an option.
    154146        if: ${{ ! inputs.multisite }}
    155         uses: ./ci-tools/.github/actions/smoke-check
     147        uses: WordPress/wordpress-develop/.github/actions/smoke-check@trunk # zizmor: ignore[unpinned-uses]
    156148        with:
    157149          admin-user: ${{ env.WP_ADMIN_USER }}
  • trunk/.github/workflows/upgrade-develop-testing.yml

    r63517 r63518  
    2626      - 'src/**.php'
    2727      # Confirm any changes to relevant workflow files.
    28       - '.github/actions/smoke-check/**'
    2928      - '.github/workflows/upgrade-develop-testing.yml'
    3029      - '.github/workflows/reusable-upgrade-testing.yml'
  • trunk/.github/workflows/upgrade-testing.yml

    r63517 r63518  
    1919    # Always test the workflow when changes are suggested.
    2020    paths:
    21       - '.github/actions/smoke-check/**'
    2221      - '.github/workflows/upgrade-testing.yml'
    2322      - '.github/workflows/reusable-upgrade-testing.yml'
Note: See TracChangeset for help on using the changeset viewer.