Open
Conversation
…ated package distribution This workflow now uses the build-and-distribute reusable action with deploy bot credentials for SSH access. The PACKAGE_VERSION input is now optional and legacy parameters have been consolidated for simpler version management.
…ove dependency injection.
…oss multiple files.
danielhuesken
approved these changes
Mar 23, 2026
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.
Adopt Build & Distribute Workflow
This PR migrates the Mollie WooCommerce plugin from the deprecated
build-plugin-archive.ymlworkflow to the new unifiedbuild-and-distributeworkflow.What changes
The new workflow replaces three previously fragmented CI/CD workflows (
build-and-push-assets,build-assets-compilation,build-plugin-archive) with a single unified one. It auto-detects the project type (WordPress plugin, in our case), handles PHP-Scoper, translation downloads, asset compilation, versioning, and artifact creation — all in one place.Branch handling — important change
The workflow introduces a
dev/prefix convention that separates source branches from distribution branches:dev/mainmaindev/feature/foofeature/foodev/hotfix/barhotfix/barWhat this means in practice:
dev/*branchesdev/prefix and pushes compiled assets to the corresponding non-prefixed branchmainbranch will always contain production-ready built code — this is what gets tagged for releasesdev/*branches as before, but branch protection rules and any Composer constraints referencing branch names (e.g.dev-main-built→dev-main) need to be updatedKey input renames (from
build-plugin-archive)PLUGIN_VERSIONPACKAGE_VERSIONARCHIVE_NAMEPACKAGE_NAMEPHP_VERSION_BUILDPHP_VERSIONPLUGIN_MAIN_FILEPLUGIN_FOLDER_NAME