Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
dbc5695
feat(ci): add ci-test-js reusable workflow
Adi-ty May 12, 2026
f2af477
feat(ci): add ci-test-php reusable workflow
Adi-ty May 12, 2026
69a719f
chore: update verification run section with dry run output for ci-tes…
Adi-ty May 12, 2026
f0e23e6
docs: update ci-test-js.md with verification run details
Adi-ty May 12, 2026
3d0ddd5
feat(ci): add ci-build reusable workflow
Adi-ty May 12, 2026
39401a9
feat(ci): add ci-test-a11y reusable workflow
Adi-ty May 13, 2026
de722cc
feat(ci): add install-node-deps / install-composer-deps toggles
Adi-ty May 13, 2026
c4c2165
Merge pull request #10 from rtCamp/v1.0.0/task/ci-test-a11y
AnuragVasanwala May 15, 2026
f7fed44
Merge branch 'release/v1.0.0' into v1.0.0/task/ci-test-js
Adi-ty May 15, 2026
a1fc89e
Merge pull request #4 from rtCamp/v1.0.0/task/ci-test-js
Adi-ty May 15, 2026
953ed1c
docs: update ci-test-js section in README.md to clarify caching and i…
Adi-ty May 15, 2026
14f11fe
feat(ci): enhance test-command input handling for PHPUnit execution
AnuragVasanwala May 21, 2026
f361b08
docs: update README and CHANGELOG for ci-test-php workflow enhancements
AnuragVasanwala May 21, 2026
c4715dd
Merge branch 'release/v1.0.0' into v1.0.0/task/ci-test-php
AnuragVasanwala May 21, 2026
b216b3d
Merge pull request #6 from rtCamp/v1.0.0/task/ci-test-php
AnuragVasanwala May 21, 2026
466b8c9
feat(ci): enhance build-command input handling for dynamic defaults
AnuragVasanwala May 21, 2026
b9f8ff2
docs: update README and CHANGELOG for ci-build.yml workflow details
AnuragVasanwala May 21, 2026
b0b1ecb
Merge branch 'release/v1.0.0' into v1.0.0/task/ci-build
Adi-ty May 21, 2026
fd4abeb
Merge pull request #8 from rtCamp/v1.0.0/task/ci-build
Adi-ty May 21, 2026
24d3939
feat: add CI build artifact gate workflow
Adi-ty May 14, 2026
f1bb0c0
docs: update README to include details on ci-build-artifact-gate work…
Adi-ty May 14, 2026
c1ad9e4
fix(ci): harden build artifact gate pattern parsing
Adi-ty May 21, 2026
58a4470
feat: add ci-build-artifact-gate documentation and update changelog
AnuragVasanwala May 22, 2026
ecee779
Merge pull request #19 from rtCamp/v1.0.0/task/ci-build-artifact-gate
AnuragVasanwala May 22, 2026
2e45e67
feat(cd): add reusable split packages workflow
Adi-ty May 25, 2026
142c63e
docs(cd): track split packages workflow issue
Adi-ty May 25, 2026
abeef0b
[v1.0.0] Add ci-test-build-artifact reusable workflow (#23)
Adi-ty Jun 10, 2026
6253cf0
feat(cd): add reusable cd-split-composer-packages workflow for mirror…
Adi-ty Jun 10, 2026
e5c2687
Merge branch 'release/v1.0.0' into v1.0.0/task/cd-split-packages
Adi-ty Jun 10, 2026
2b1ef13
Error message rewording for better clarity
Adi-ty Jun 10, 2026
4e11c78
docs(cd): Clarify splitish.json location
Adi-ty Jun 10, 2026
457a682
feat(cd): enhance validation for subtrees in config file and ensure r…
Adi-ty Jun 10, 2026
33086a4
Merge pull request #21 from rtCamp/v1.0.0/task/cd-split-packages
AnuragVasanwala Jun 11, 2026
12ae913
[v1.0.0] Add cd-github-release workflow (#24)
Adi-ty Jun 15, 2026
cb9ae6e
feat(cd): add cd-wp-org deploy workflow
Adi-ty May 29, 2026
39c03b5
feat: update README with build command and artifact path for cd-wp-or…
Adi-ty Jun 15, 2026
b9966a5
Merge branch 'release/v1.0.0' into v1.0.0/task/cd-wp-org
Adi-ty Jun 15, 2026
38b5fe8
docs: update README to clarify required inputs for deployment
Adi-ty Jun 15, 2026
aac0191
Merge remote-tracking branch 'origin/v1.0.0/task/cd-wp-org' into v1.0…
Adi-ty Jun 15, 2026
c902ea8
feat: update CI build job to upload artifact with specified name
Adi-ty Jun 15, 2026
e2ad3f2
fix(cd-wp-org): skip absent assets dir; correct immutable-tag docs
Adi-ty Jun 15, 2026
5b99314
Merge pull request #26 from rtCamp/v1.0.0/task/cd-wp-org
AnuragVasanwala Jun 16, 2026
4781309
Merge pull request #27 from rtCamp/v1.0.0/task/cd-s3
Adi-ty Jun 16, 2026
bf3d23a
[v1.0.0] Add detect-changes + lint-css/js/php reusable workflows (#2)
Adi-ty Jun 17, 2026
07dd7ef
feat: version monitor workflow (#22)
Swanand01 Jun 17, 2026
3434fcc
[v1.0.0] Add wp-ci orchestrator workflow (#25)
Adi-ty Jun 22, 2026
6274f32
Add packages-token secret for private Composer VCS deps (#28)
Adi-ty Jun 23, 2026
f483c5b
fix: update test-php condition to include 'theme' project type (#29)
Adi-ty Jun 23, 2026
c08a450
feat(ci): add working-dir support, remove wp-tooling/packages tokens,…
Adi-ty Jul 31, 2026
7fff4c9
fix(ci): harden rewinds, path guards, and artifact naming in the cd/c…
Adi-ty Aug 4, 2026
04df887
fix(ci): refuse to publish the target root or .git in cd-built-branch
Adi-ty Aug 4, 2026
02f367c
fix(ci): reject target-branch == source ref to prevent overwriting th…
Adi-ty Aug 4, 2026
c9f5263
Merge pull request #31 from rtCamp/v1.0.0/task/working-dir-built-bran…
aryanjasala Aug 10, 2026
b772218
[v1.0.0] Prepare release for public main (#33)
Adi-ty Aug 10, 2026
575e48f
fix(ci): route caller inputs through env and fix release/cache handli…
Adi-ty Sep 29, 2026
eb16304
fix(ci): lint the whole project when Stylelint's changed files includ…
aryanjasala Oct 1, 2026
30a4659
fix(ci): lint only existing PHP files with PHPCS
aryanjasala Oct 1, 2026
2b73f70
Merge pull request #40 from rtCamp/fix/changed-files-linting
aryanjasala Oct 1, 2026
a34d170
Merge branch 'release/v1.0.0' into main
aryanjasala Oct 1, 2026
9153e4e
Merge branch 'main' into chore/sync-release-into-main
aryanjasala Oct 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci-lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
type: string
default: "npm run lint:css"
changed-files:
description: "Newline-separated list of CSS files to lint. Empty = run lint-command over the whole project."
description: "Newline-separated changed files (ci-detect-changes' css-files). Stylesheets are linted file by file; if the list is empty or holds anything else (package.json, package-lock.json), lint-command runs over the whole project."
type: string
default: ""
working-dir:
Expand Down Expand Up @@ -55,8 +55,13 @@ jobs:
CHANGED_FILES: ${{ inputs.changed-files }}
LINT_COMMAND: ${{ inputs.lint-command }}
run: |
if [ -n "$CHANGED_FILES" ]; then
printf '%s\n' "$CHANGED_FILES" | xargs -d '\n' --no-run-if-empty npx --no-install stylelint --
# css-files also lists package.json and package-lock.json, so a dependency
# change re-runs this job. Stylelint cannot parse them, and a dependency
# change can affect every stylesheet, so lint the whole project then.
stylesheets=$(printf '%s\n' "$CHANGED_FILES" | grep -E '\.s?css$' || true)
others=$(printf '%s\n' "$CHANGED_FILES" | grep -vE '^$|\.s?css$' || true)
if [ -n "$stylesheets" ] && [ -z "$others" ]; then
printf '%s\n' "$stylesheets" | xargs -d '\n' --no-run-if-empty npx --no-install stylelint --
else
bash -eo pipefail -c "$LINT_COMMAND"
fi
13 changes: 10 additions & 3 deletions .github/workflows/ci-lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
type: string
default: "vendor/bin/phpcs"
changed-files:
description: "Newline-separated list of PHP files to lint with PHPCS. Empty = lint the whole project. PHPStan always runs whole-project — it analyses cross-file dependencies."
description: "Newline-separated changed files (ci-detect-changes' php-files). PHP files that still exist are linted file by file; if the list is empty or holds anything else (composer.json, composer.lock, PHPStan config), PHPCS lints the whole project. PHPStan always runs whole-project — it analyses cross-file dependencies."
type: string
default: ""
phpstan-command:
Expand Down Expand Up @@ -105,10 +105,17 @@ jobs:
# they stay argv. The pipe to cs2pr stays out here, so a non-zero phpcs still trips
# pipefail exactly as before.
args=(-q --report=checkstyle --runtime-set ignore_warnings_on_exit 1)
if [ -n "$CHANGED_FILES" ]; then
# php-files also lists composer.json, composer.lock and the PHPStan config, so a
# dependency or config change re-runs this job, and it can name files the change
# deleted. PHPCS only takes PHP files that exist; when anything else changed, a
# dependency or ruleset change can affect every file, so lint the whole project.
php_files=$(printf '%s\n' "$CHANGED_FILES" | grep -E '\.php$' \
| while IFS= read -r file; do [ ! -f "$file" ] || printf '%s\n' "$file"; done || true)
others=$(printf '%s\n' "$CHANGED_FILES" | grep -vE '^$|\.php$' || true)
if [ -n "$php_files" ] && [ -z "$others" ]; then
tmp_list=$(mktemp)
trap 'rm -f "$tmp_list"' EXIT
printf '%s\n' "$CHANGED_FILES" > "$tmp_list"
printf '%s\n' "$php_files" > "$tmp_list"
args=(--file-list="$tmp_list" "${args[@]}")
fi
bash -eo pipefail -c "$PHPCS_COMMAND \"\$@\"" _ "${args[@]}" \
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

- Every reusable workflow takes its runner from a new `runs-on` input (JSON: a label or a list of labels), defaulting to GitHub-hosted `"ubuntu-latest"`, and `wp-ci.yml` and `wp-cd.yml` forward it to every workflow they call. Hard-coding `[self-hosted]` left public callers (and this public repository's own CI) queued with no runner, since a reusable workflow's jobs run in the calling repository. rtCamp's private repositories pass `'["self-hosted"]'`, as the org runner policy requires. `ci-self-check.yml` runs on `ubuntu-latest`, and `bin/check-workflows.sh` now requires reusable workflows to use and forward the input instead of checking a label allow-list.

### Fixed

- `ci-lint-css.yml` no longer passes `package.json` and `package-lock.json` to Stylelint. `ci-detect-changes` lists them in `css-files` so that a dependency change re-runs the job, and Stylelint failed on them with `CssSyntaxError`. When `changed-files` holds anything other than stylesheets, or is empty, the job now runs `lint-command` over the whole project.
- `ci-lint-php.yml` no longer passes deleted files or non-PHP files to PHPCS. `ci-detect-changes` lists `composer.json`, `composer.lock` and the PHPStan config in `php-files`, and a change that deletes PHP files lists them too, so PHPCS failed with `does not exist` or `Start tag expected`. Changed PHP files that still exist are linted file by file; if the list holds anything else, PHPCS lints the whole project.

## v1.0.0 - 2026-09-30

First tagged release. Consumers pin `@v1`.
Expand Down