Compare commits

..

4 Commits

Author SHA1 Message Date
peptiderepo
3b4e3f0450 fix(i18n): add translators comment for sprintf placeholder in rest-api
WordPress PHPCS requires a translators comment before sprintf() calls
that wrap __() with %s placeholders.

Agent-Session: claude/adopt-ci-20260616
2026-06-16 13:55:38 +00:00
peptiderepo
a60ca84dc0 style: auto-fix PHPCS violations via phpcbf 2026-06-16 13:54:00 +00:00
peptiderepo
b580f9e2e1 fix(ci): remove PHPCompatibilityWP sniff from phpcs config
The estate reusable CI workflow installs PHPCS globally with only
wp-coding-standards/wpcs + phpcsutils + phpcsextra. It does not install
phpcompatibility/phpcompatibility-wp, so the PHPCompatibilityWP rule
reference aborted the entire PHPCS run with 'sniff does not exist'.

PHP version coverage is maintained by the lint-php matrix job
(8.1 / 8.2 / 8.3 syntax checks).

Agent-Session: claude/adopt-ci-20260616
2026-06-16 13:53:28 +00:00
peptiderepo
8e59f8ff36 ci: adopt estate reusable CI caller v2.5.0
- ci.yml replaced with thin caller (tests: stubs, has_js: true)
- security-audit.yml extracted as standalone workflow
- deploy.yml: contents write permission for phpcbf token scope
- composer.json: pin scripts to vendor/bin/ paths
- phpunit.xml.dist: PHPUnit 9.6 XSD ref; drop deprecated convert* attrs
- CHANGELOG.md: created; version bump 2.4.1 to 2.5.0

Agent-Session: claude/adopt-ci-20260616
2026-06-16 13:50:01 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
#
# Delegates all lint/test/file-size jobs to the estate reusable workflow.
# Per estate standard: workflow_call is required so deploy.yml can gate on it.
# See: peptide-repo/peptide-e2e/.github/workflows/ci.yml@main for job definitions.
# See: peptiderepo/peptide-e2e/.github/workflows/ci.yml@main for job definitions.
##
name: CI
@@ -20,7 +20,7 @@ permissions:
jobs:
ci:
uses: peptide-repo/peptide-e2e/.github/workflows/ci.yml@main
uses: peptiderepo/peptide-e2e/.github/workflows/ci.yml@main
with:
tests: stubs
has_js: true

View File

@@ -23,7 +23,7 @@ jobs:
deploy:
name: Deploy (shared pipeline)
needs: test
uses: peptide-repo/peptide-e2e/.github/workflows/deploy-app.yml@main
uses: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main
with:
target_path: wp-content/plugins/peptide-news-plugin
secrets: inherit