Repository navigation
chore: pin the third-party plugins with the ref field of the setup config - #39
Merged
Merged
Conversation
…nfig Signed-off-by: YvesCesar <yvesamorim73@gmail.com>
This was referenced Nov 17, 2026
Merged
Signed-off-by: YvesCesar <yvesamorim73@gmail.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.
LibreCodeCoop/wordpress-docker#45 added a
reffield towordpress_custom_plugins: the entrypoint clones aswww-data, fetches the commit and checks thatHEADmatches it before activating the plugin. This moves polylang-pro and woocommerce-subscriptions from theversion=… pin=…command inpost_install_commandsto that field.Changes
ref: <sha> # vX.Y.Z. The otherpost_install_commands(ACF symlink,apportion_recurring_price) stay. The polylang-prosourcegains the.gitsuffix, which the Renovate regex expects.source: … ref: <sha> # vX.Y.Zinstead of the old command, still with thegit-tagsdatasource. For annotated tags Renovate records the tag object SHA, which the entrypoint accepts after fix: accept annotated tag object SHAs as git pins LibreCodeCoop/wordpress-docker#47; merge that one first.A behavior change: if the pinned commit cannot be checked out, the plugin is no longer kept at whatever commit it had and activated; the entrypoint skips its activation and
post_install_commands.Validation
--platform=local): both dependencies are detected. With polylang-pro moved back tov3.7.3, it proposesv3.7.6with digest851df56.wpagainst the two real repositories: both plugins are cloned at the pinned commits, the ACF symlink is created, the option is set and both plugins are activated.