Skip to content

ci: add reusable workflows, release automation, and Playground previews - #142

Open
Kallyan01 wants to merge 11 commits into
feat/ai-optimized-scaffoldfrom
feat/gh-flow-release
Open

Kallyan01 wants to merge 11 commits into
feat/ai-optimized-scaffoldfrom
feat/gh-flow-release

Conversation

@Kallyan01

@Kallyan01 Kallyan01 commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Overhaul the CI/CD workflows: split the monolithic test pipeline into modular, change-detecting reusable workflows, and add Conventional-Commit PR title validation + release-please automation.

Changes

  • ci.yml (new): main pipeline entry point. Detects which files changed (PHP, JS, CSS, PHPCS/PHPStan/PHPUnit/Jest/E2E-relevant paths) and fans out only the reusable workflows that apply, instead of always running everything.
  • Reusable workflows (new): reusable-phpcs.yml, reusable-phpstan.yml, reusable-phpunit.yml, reusable-lint-css-js.yml (ESLint/Stylelint/Prettier/tsc), reusable-jest.yml, reusable-e2e.yml (Playwright), reusable-build.yml (build zip), reusable-wp-playground-pr-preview.yml (PR preview environment via wp-playground).
  • Removes the old monolithic test.yml, superseded by the above.
  • pr-title.yml (new): validates PR titles against Conventional Commits format, required for release-please.
  • release.yml: reworked to use release-please for automated versioning/changelog on push to main; builds the plugin via reusable-build.yml and uploads the zip to the GitHub release.
  • release-please-config.json / .release-please-manifest.json (new): release-please configuration, PHP release type, changelog path, starting version 1.1.1.
  • copilot-setup-steps.yml: reformatted/tightened (explicit permissions: read, clarified trigger comments).
  • .github/workflows/README.md (new): documents what each workflow does and required configuration/secrets.
Open WordPress Playground Preview

@Kallyan01
Kallyan01 marked this pull request as ready for review August 11, 2026 14:19
@Kallyan01
Kallyan01 force-pushed the feat/gh-flow-release branch 2 times, most recently from 3f36688 to 4db0659 Compare August 11, 2026 18:21
@Kallyan01
Kallyan01 force-pushed the feat/gh-flow-release branch from 5147c9d to b90a2c8 Compare August 16, 2026 20:55
@Kallyan01 Kallyan01 changed the title Feat/gh flow release ci: add reusable workflows, release automation, and Playground previews Aug 16, 2026
@Kallyan01
Kallyan01 requested a review from justlevine August 19, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant