Skip to content

CI: real PHP matrix, audits, pinned actions; grouped Dependabot - #1

Merged
Petar-V-Nikolov merged 1 commit into
mainfrom
ci/php-matrix-audit-1108
Nov 8, 2026
Merged

Petar-V-Nikolov merged 1 commit into
mainfrom
ci/php-matrix-audit-1108

Conversation

@Petar-V-Nikolov

Copy link
Copy Markdown
Contributor

The PHP matrix passed php to setup-php, which reads php-version, so every job ran on the default PHP. This makes the matrix real (8.2 to 8.4, plus a PHP 8.1 syntax job for the shipped files), adds composer audit and composer check, updates the screenshot tooling to puppeteer-core 25 (closes high advisories), pins the actions, and adds grouped weekly Dependabot updates.

Checked locally: lint, PHPStan and unit tests on PHP 8.2 and 8.4; integration on PHP 8.2 with WP 6.5.5 and WC 9.0.2; both audits clean.

🤖 Generated with Claude Code

setup-php reads php-version, but the matrix passed `php`, which it
ignores: every "PHP 8.1 to 8.4" job and both integration runs used the
runner's default PHP. The matrix now really runs 8.2, 8.3 and 8.4 (the
test tools need 8.2), a PHP 8.1 job checks that every shipped file
parses, as the Price History plugin does, and the oldest integration
run (WP 6.5.5, WC 9.0.2) runs on 8.2.

composer audit runs in CI and first in the new composer check.
puppeteer-core 25 (screenshot tooling only, not shipped) closes the
high advisories in extract-zip and basic-ftp under 24; the script uses
none of the APIs 25 removed, and a headless smoke run passes. Actions
are pinned to commit hashes, superseded runs are cancelled, and
Dependabot groups minor and patch updates weekly per ecosystem with
security updates at once.

Checked locally: lint, PHPStan and unit tests on PHP 8.2 and 8.4,
integration tests on PHP 8.2 with WP 6.5.5 and WC 9.0.2 (25 tests),
composer audit and npm audit clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Petar-V-Nikolov
Petar-V-Nikolov merged commit b993b29 into main Nov 8, 2026
7 checks passed
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