Introduce release-drafter + modernize CI (PHP 8.1, PHPUnit 9.6, svn, node 20) - #78
Merged
Conversation
…lished trigger Co-authored-by: Claude <noreply@anthropic.com>
…adlock - config.platform.php and require.php: 7.4 -> 8.1 - CI matrix: PHP 8.1/8.2/8.3, WP latest/6.5 - release.yml & lint: php-version 8.1 - Add 'Requires PHP: 8.1' plugin header Resolves to google/auth v1.50.2 + firebase/php-jwt v7.0.5 (advisory-free). PHP 7.4 kept firebase/php-jwt at v6 which is blocked by CVE-2025-45769. Co-authored-by: Claude <noreply@anthropic.com>
…o 20 - ubuntu-latest no longer ships svn, breaking install-wp-tests.sh -> apt install subversion - assets job node 14 -> 20 (native module build failed on node 14) Co-authored-by: Claude <noreply@anthropic.com>
Unbounded '>=5.7' pulled PHPUnit 10/11 whose new config schema and test discovery break the existing tests (class/file mismatch, removed convert* attrs). 9.6.x matches the WordPress test ecosystem and supports PHP 8.1-8.3. Co-authored-by: Claude <noreply@anthropic.com>
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.
概要
taro-sitemap に倣って release-drafter を導入。作業中に表面化した既存の CI 破綻も併せて修正した。
変更点
release-drafter(本題)
.github/release-drafter.yml追加(taro-sitemap と同設定).github/workflows/release-drafter.yml追加(master push / PR でドラフト更新)wordpress.yml内 release ジョブ(tag push)から独立release.yml(release: publishedトリガー)へ分離。php-scoper + clean.sh は維持。bin/build.shにタグを渡しバージョン空バグも修正wordpress.ymlから release ジョブと push のtagsトリガーを撤去依存デッドロック解消
google/auth+firebase/php-jwtが CVE-2025-45769(php-jwt <7.0.0)でブロックされ composer 解決不能だったgoogle/auth v1.50.2+firebase/php-jwt v7.0.5(勧告対象外)に解決composer.jsonのrequire.php/config.platform.phpを 8.1 に、プラグインヘッダにRequires PHP: 8.1を追加CI 老朽化の修正
phpunit/phpunitを^9.6にピン(無指定だと PHPUnit 10/11 が入りスキーマ・テスト検出が非互換)subversionを apt 導入(install-wp-tests.sh の svn co 用)残課題
Check Assets(node-sass がビルド不能)は別リポジトリ(@kunoichi/gulp-assets-task-set)の更新が絡むため分離: CI: assets ジョブの node-sass がビルド不能(dart-sass へ移行が必要) #79🤖 Generated with Claude Code