Repository navigation
chore: merge release/v1.0.0 into main (merge commit only) - #41
Merged
Merged
Conversation
Single-job Jest runner with optional cross-run cache (enable-cache), monorepo support (working-dir), and overridable test-command. The Jest cache path is resolved via $HOME in a step output so both the actions/cache path and the JEST_CACHE_DIRECTORY env point at the same directory
Single-job PHPUnit runner with a use-wp-env toggle: when true (default) boots @wordpress/env around the tests for WordPress integration runs and tears down with always(); when false skips Node and wp-env entirely for Composer-only packages. Composer install always runs; npm ci is split into its own conditional step so standalone mode doesn't require Node.
Production-build runner with optional artifact upload. Default shape is build-only (no artifact); flip upload-artifact to true to hand the output to a downstream CD job. Composes path as working-dir/artifact-path so monorepo callers don't double-prefix, and sets if-no-files-found: error so a misconfigured artifact-path surfaces at the upload step rather than producing a silent empty artifact downstream.
pa11y-ci WCAG2AA accessibility testing against a wp-env site. Builds assets, starts wp-env, runs pa11y-ci, tears down with if: always(). Label-triggered at the caller level; the workflow itself is trigger-agnostic.
Both stacks are now individually optional. Three consumer shapes: Node-only (default), Composer-only, both. Composer flags default to --no-dev for production builds. Node setup + npm ci gated on install-node-deps; PHP setup + composer install gated on install-composer-deps.
[v1.0.0] Add ci-test-a11y reusable workflow
[v1.0.0] Add ci-test-js reusable workflow
[v1.0.0] Add ci-test-php reusable workflow
[v1.0.0] Add ci-build reusable workflow
[v1.0.0] Add ci-build-artifact-gate reusable workflow
* feat(ci): add ci-test-build-artifact reusable workflow Downloads the build artifact, boots wp-env with pinned php-version/wp-version, activates plugin/theme, runs wp doctor check --all, and tears down. Catches files referenced but missing from the bundle, over eager .distignore rules, and case-sensitivity bugs that survive a bare build step. * docs(ci): clarify decisions made in ci-test-build-artifact documentation
…ing Composer packages
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
[v1.0.0] Add cd-wp-org deploy workflow
[v1.0.0] Add cd-s3 deploy workflow
* feat(ci): add lint-css, lint-js, lint-php reusable workflows Individual CI lint workflows callable via workflow_call: - ci-lint-css.yml — Stylelint via configurable command - ci-lint-js.yml — ESLint + optional package.json validation - ci-lint-php.yml — PHPCS (cs2pr-annotated) + optional PHPStan * fix(ci): pin actions to SHAs, add permissions, align with spec - Pin actions/checkout, actions/setup-node, actions/cache to commit SHAs (supply-chain hygiene per CLAUDE.md) - Add permissions: contents: read to all three lint workflows - Drop redundant composer tool from setup-php (pre-installed on runner) - Add --optimize-autoloader and --no-scripts to composer install - Reformat phpcs-command default as multi-line for readability - Reorder lint-js steps: validate package.json before ESLint - Tighten input descriptions across all three workflows * feat(ci): add monorepo support and tuning knobs to lint workflows - Add working-dir input on all three lint workflows for monorepo subdirs - Add phpstan-level, composer-flags, validate-composer inputs to ci-lint-php - Reshape phpcs-command to a bare binary path; cs2pr pipeline + soft-exit live in the step - Switch phpstan-command default to vendor/bin/phpstan analyse so phpstan-level appends cleanly - Collapse JS validation to a single validate-package-json toggle - Trim input descriptions to one line each * feat(ci): add changed-files input to lint workflows PHPCS, ESLint, and Stylelint can now lint only the changed files passed from detect-changes. Newline-separated file list via changed-files input; empty = lint the whole project. PHPCS uses --file-list for robustness against ARG_MAX; ESLint and Stylelint use xargs. PHPStan always runs whole-project — it analyses cross-file dependencies. * feat: add reusable detect-changes workflow and update documentation * fix: address PR review feedback across CI workflows * fix: update workflow files to improve linting commands and documentation * fix: update workflow references to use wp-shared-workflows path * fix(ci): add optional wp-tooling-token secret for private-repo clone * docs(ci): add wp-tooling-token secret to ci-detect-changes example * fix: update actions/checkout and actions/setup-node versions across workflows * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Anurag Vasanwala <75766877+AnuragVasanwala@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* feat: add version-monitor workflow and example * chore: docs * fix: write files to RUNNER_TEMP * chore: docs * feat: enhance version-monitor workflow with dynamic node version input and improved error handling * feat: update version-monitor workflow with concurrency settings and enhanced README details * fix: adjust installation method for wp-tooling abd update version-monitor workflow path in README * fix: update wp-tooling installation method to use local prefix instead of global install * feat(version-monitor): add wp-tooling-token secret, rework install step * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Aditya Singh <adityasinghboss1234@gmail.com> Co-authored-by: Anurag Vasanwala <75766877+AnuragVasanwala@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Aditya Singh <92062352+Adi-ty@users.noreply.github.com>
* feat(ci): add wp-ci orchestrator + wp-env matrix for ci-test-php * fix(ci): make a11y opt-in via run-a11y input in wp-ci orchestrator * docs: clarify always-on jobs and act dry-run note in wp-ci
* feat(ci): add packages-token secret for private Composer VCS deps Adds optional packages-token secret to ci-lint-php.yml, ci-test-php.yml, and wp-ci.yml to authenticate composer install for private repos like rtCamp/wp-framework. * fix(ci): clarify packages-token docs; guard in-container composer config
… add cd-built-branch workflow
…ch-token-removal feat(ci): add working-dir support, remove wp-tooling/packages tokens, add cd-built-branch workflow
* docs(release): prepare v1.0.0 for public main - README: drop from 800 lines to a workflow index; remove references to the never-implemented wp-cd.yml orchestrator. - CHANGELOG: add "v1.0.0 - 2026-08-10" section, removing the Unreleased heading - Split caller examples out of README into examples/ (one per workflow) - Add LICENSE (GPL-2.0-or-later) and CONTRIBUTING.md - Replace CLAUDE.md doc content with a pointer to tool-agnostic AGENTS.md - Add ci-self-check.yml (yamllint + actionlint + bin/check-workflows.sh) and bin/check-workflows.sh examples contract checker - Add .github/actionlint.yaml (ignore SC2016) - Drop .claude/ working directory and cd-split-composer-packages.yml from the release - version-monitor.yml: pin checkout/setup-node SHAs, add job name * fix(ci): drop &&/|| short-circuits flagged by SC2015 in cd-built-branch * fix: address Copilot review on examples, README and concurrency
…ng per review (#34) * fix(ci): route caller inputs through env and fix release/cache handling per review * fix(ci): distinguish archive assets and order superseded summary * fix(ci): restrict release slug to a safe filename charset
…e manifests ci-detect-changes lists package.json and package-lock.json in css-files so a dependency change re-runs Stylelint, but ci-lint-css passed them straight to Stylelint, which failed with CssSyntaxError. Lint changed stylesheets file by file only when nothing else is in the list; otherwise run lint-command over the whole project, since a dependency change can affect every stylesheet.
ci-detect-changes lists composer.json, composer.lock and the PHPStan config in php-files, and a change that deletes PHP files lists those too. ci-lint-php passed the whole list to PHPCS, which failed with 'does not exist' for deleted files and 'Start tag expected' for the config files, as on rtCamp/theme-elementary#692. Lint changed PHP files that still exist file by file only when nothing else is in the list; otherwise lint the whole project, since a dependency or ruleset change can affect every file.
fix(ci): pass only lintable files to Stylelint and PHPCS
Brings #40 (changed-files linting for Stylelint and PHPCS) to main. #32 squash-merged release/v1.0.0 into main, so git shares no history between them past the initial commit and every workflow conflicts. main already has everything else on release/v1.0.0, so the resolution keeps main's files (including its self-hosted runners) and applies only #40's changes.
AnuragVasanwala
previously approved these changes
Oct 1, 2026
AnuragVasanwala
self-requested a review
October 1, 2026 21:26
AnuragVasanwala
approved these changes
Oct 1, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge with "Create a merge commit". Do not squash. The merge commit records
release/v1.0.0as merged intomain, so later release-to-main PRs are clean and GitHub's compare view stops listing release commits as missing.Brings #40 (changed-files linting for Stylelint and PHPCS) to
main. It merged intorelease/v1.0.0, which theme-elementary, plugin-elementary and icimod still call.A plain
release/v1.0.0→mainPR conflicts in every workflow: #32 squash-merged the release branch, so git shares no history between the two past the initial commit. Apart from #40,mainalready has everything onrelease/v1.0.0(#39), so this merge keepsmain's files, including its self-hosted runners, and applies only #40's changes.Changes (vs
main)ci-lint-css.yml: changed stylesheets are linted file by file only when nothing else is in the list; otherwiselint-commandruns over the whole project.ci-lint-php.yml: changed PHP files that still exist are linted file by file only when nothing else is in the list; otherwise PHPCS lints the whole project.CHANGELOG.md: fix(ci): pass only lintable files to Stylelint and PHPCS #40's entries under## Unreleased.Testing
git diff mainis exactly fix(ci): pass only lintable files to Stylelint and PHPCS #40's three files; noruns-online changesactionlint,yamllint -c .yamllint.yml .andbin/check-workflows.shpassrelease/v1.0.0