Skip to content

fix: keep release validation on the built-in checks - #201

Merged
Soner (shyim) merged 1 commit into
mainfrom
fix/release-actions-builtin-validation
Sep 29, 2026
Merged

Soner (shyim) merged 1 commit into
mainfrom
fix/release-actions-builtin-validation

Conversation

@moshimorschi

@moshimorschi Lena Forlin (moshimorschi) commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

What changed?

extension validate in the build-zip and store-release actions (and the reusable workflows of the same names) now passes --only sw-cli, which is exactly the set of checks these steps run today.

Why?

shopware/shopware-cli#1618 makes extension validate run all checkers (PHPStan, ESLint, Stylelint, Twig linters) by default. These actions install the latest CLI and call extension validate without flags, so every release run through them would pick up the new default and fail on the first finding, before the store upload. Tried the new default on SwagPayPal, SwagCmsExtensions, SwagLanguagePack and SwagMigrationAssistant: all four fail.

The flag already works on the current 0.18.5 release with identical findings and exit code, so this can be merged before the CLI ships the change.

Not touched: extension-verifier keeps --full until the minimum CLI has the new default, since removing it earlier would drop the code checks on older versions. A per-extension opt-in for the full checks at release time can follow once the repos are green.

shopware/shopware-cli#1618 makes extension validate run all checkers by default. build-zip and store-release install the latest CLI and call extension validate without flags, so release runs would pick up the new default and fail before the store upload. Pass --only sw-cli, which is what these steps run today and which the current 0.18.5 release already accepts.
@moshimorschi
Lena Forlin (moshimorschi) force-pushed the fix/release-actions-builtin-validation branch 2 times, most recently from 2439453 to 4d5d419 Compare September 28, 2026 13:13
@shyim
Soner (shyim) merged commit eb19966 into main Sep 29, 2026
22 checks passed
@shyim
Soner (shyim) deleted the fix/release-actions-builtin-validation branch September 29, 2026 02:50
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.

2 participants