CI : contrôle de version de release + mise à jour du démo Playground#30
Merged
firestar300 merged 5 commits intodevelopfrom Apr 22, 2026
Merged
CI : contrôle de version de release + mise à jour du démo Playground#30firestar300 merged 5 commits intodevelopfrom
firestar300 merged 5 commits intodevelopfrom
Conversation
- Delegate PR version validation to tests/bin/check-release-version.sh - Enforce tag and file consistency when .plugin-data version changes - Add CHANGELOG.md (Keep a Changelog) for release notes Made-with: Cursor
Replace the demo post with the Gutenberg group, button, and modal example. Made-with: Cursor
Include package.json in pull_request and push path filters so dependency or script updates re-run JS quality checks. Made-with: Cursor
Add /tests to .distignore and .gitattributes export-ignore so release archives ship without the local test helpers. Made-with: Cursor
Drop vimeo/psalm, humanmade/psalm-plugin-wordpress, and psalm.xml.dist. Remove the psalm composer script and GrumPHP task. Regenerate composer.lock. Tidy composer.json keywords formatting. Made-with: Cursor
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.
CI : contrôle de version de release + mise à jour du démo Playground
Objectif
Renforcer le processus de sortie (toutes les sources de version alignées) et rafraîchir le contenu de la page de démonstration sur WordPress Playground.
Résumé
mainexécute un script de validation lorsqu’un bump de version apparaît dans.plugin-data. Le tag cible ne doit pas exister, et chaque fichier versionné (dontpackage.json,block.json, plugin PHP,readme.txt,CHANGELOG.md, blueprint) doit être modifié et cohérent.tests/bin/check-release-version.sh, réutilisable en local (sans args :merge-baseavecmain/origin/mainpar rapport àHEAD).CHANGELOG.md(Keep a Changelog) aligné sur l’historique du plugin.Détails techniques
.github/workflows/pull-request-version.ymlgit fetch --tags, appeltests/bin/check-release-version.shtests/bin/check-release-version.shCHANGELOG.md.gitattributes; contenu rétroactif.wordpress-org/blueprints/blueprint.jsonTests / vérification
main: le workflow s’exécute ; si la version dans.plugin-datan’a pas changé par rapport àmain, le job s’achève en succès (pas de vérification release lourde)../tests/bin/check-release-version.shblockparty-modal-demo.Suite recommandée (côté GitHub)
mainavec required status checks pour le job de ce workflow, si la fusion doit dépendre du vert CI.Commits (référence)
chore(ci): add release version checks, script, and CHANGELOGchore(blueprint): update Playground demo page contentNote
Low Risk
Changes are limited to CI/release validation, packaging ignores, and demo blueprint content, with no production runtime logic modifications.
Overview
Strengthens the release/versioning process by updating the PR workflow to fetch tags and run
tests/bin/check-release-version.sh, which enforces that a.plugin-dataversion bump implies an unused git tag and synchronized version updates across key release files (includingpackage.json,readme.txt,block.json,CHANGELOG.md, and the Playground blueprint).Adds a Keep-a-Changelog
CHANGELOG.md, updates the WordPress Playgroundblueprint.jsonto install the plugin from a version tag and refreshes the demo page content, and adjusts packaging metadata to exclude/testsfrom exports while dropping Psalm-related dev tooling fromcomposer.json.Reviewed by Cursor Bugbot for commit f345ef9. Bugbot is set up for automated code reviews on this repo. Configure here.