From 8cdc31a394a3f7b98598fffd6bb900c073b47d42 Mon Sep 17 00:00:00 2001 From: Aryan Jasala Date: Fri, 2 Oct 2026 03:04:52 +0530 Subject: [PATCH] ci: call rtCamp/wp-shared-workflows at @v1 wp-shared-workflows is tagged v1.0.0, and @v1 moves forward to compatible v1.x releases, so test-measure.yml moves off release/v1.0.0 and its pilot note. The maintenance doc's dependency table also catches up: wp-primitives is ^2.0, and the @rtcamp packages come from the npm registry. --- .github/workflows/test-measure.yml | 7 +++---- docs/internal/maintenance.md | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-measure.yml b/.github/workflows/test-measure.yml index 4653053..b316e12 100644 --- a/.github/workflows/test-measure.yml +++ b/.github/workflows/test-measure.yml @@ -6,9 +6,8 @@ name: Test and Measure # orchestrator; every job there is gated on detected changes, so a docs-only # PR runs almost nothing. Replaces the seven per-check ci-*.yml callers, # which could express neither the test matrix nor private-repo tokens. -# Pinned at release/v1.0.0 during the private pilot; bump to a stable @v1 tag -# once the shared workflows are published. -# Source: https://github.com/rtCamp/wp-shared-workflows/blob/release/v1.0.0/.github/workflows/wp-ci.yml +# Pinned to @v1, which moves forward to compatible v1.x releases. +# Source: https://github.com/rtCamp/wp-shared-workflows/blob/v1/.github/workflows/wp-ci.yml on: pull_request: @@ -31,7 +30,7 @@ concurrency: jobs: ci: - uses: rtCamp/wp-shared-workflows/.github/workflows/wp-ci.yml@release/v1.0.0 + uses: rtCamp/wp-shared-workflows/.github/workflows/wp-ci.yml@v1 with: project-type: plugin php-versions: '["8.2", "8.3", "8.4"]' diff --git a/docs/internal/maintenance.md b/docs/internal/maintenance.md index 5e0f829..96b79d3 100644 --- a/docs/internal/maintenance.md +++ b/docs/internal/maintenance.md @@ -87,10 +87,10 @@ Put journey and link-check results in the pull request description or release ha | Dependency | Where it is declared | When bumping | | --- | --- | --- | -| `rtcamp/wp-primitives` | `composer.json` (`^1.0`), `composer.lock` | Run `composer update rtcamp/wp-primitives -W`, then `npm run sync-ai` to refresh the generated instructions. Update every pinned docs link (`grep -rn "wp-primitives/blob/v" README.md DEVELOPMENT.md docs`) to the new tag, and review the framework's changelog for anything the examples or docs must follow. | -| `@rtcamp/wp-tooling`, lint configs | `package.json` (`github:` / `git+https:` refs to `npm/*` branches), `package-lock.json` | Run `npm update @rtcamp/wp-tooling` (and the configs) to move the lock, then re-run init and scaffold validation. | +| `rtcamp/wp-primitives` | `composer.json` (`^2.0`), `composer.lock` | Run `composer update rtcamp/wp-primitives -W`, then `npm run sync-ai` to refresh the generated instructions. Update every pinned docs link (`grep -rn "wp-primitives/blob/v" README.md DEVELOPMENT.md docs`) to the new tag, and review the framework's changelog for anything the examples or docs must follow. | +| `@rtcamp/wp-tooling`, lint configs | `package.json` (`^` ranges on the npm registry), `package-lock.json` | Run `npm update @rtcamp/wp-tooling` (and the configs) to move the lock, then re-run init and scaffold validation. | | Coding standards | `composer.json` (`rtcamp/wp-phpcs`, `rtcamp/wp-phpstan`) | `composer update rtcamp/wp-phpcs rtcamp/wp-phpstan`; fix or baseline new findings in a separate commit. | -| Shared CI | `.github/workflows/test-measure.yml` (`@release/v1.0.0`) | Move the ref once a stable tag exists; check the input names against the new `wp-ci.yml`. | +| Shared CI | `.github/workflows/test-measure.yml` (`@v1`) | `@v1` moves to compatible v1.x releases on its own. For a new major version, move the ref and check the input names against the new `wp-ci.yml`. | | Docs builder | `.github/workflows/documentation.yml` (pinned SHA) | See [Documentation publishing](#documentation-publishing). | Also keep the plugin header's `Tested up to` in step with the newest WordPress version in the CI matrix.