Separate workflow helpers from release assets - #1892
Merged
Conversation
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.
Summary
wp_codebox_workflow_reffor reusable-workflow helper scriptswp_codebox_release_refexclusively for packaged runtime release assets and version validationRoot cause
A reusable workflow invoked at an accepted commit checked its helper scripts back out from the older release tag. Accepted helper fixes therefore never executed until a full packaged release, despite the caller pinning the workflow commit.
Reproductions:
How to test
npm run test:agent-task-workflow-interface.npm run test:agent-task-contracts.actionlint .github/workflows/*.yml.usesandwp_codebox_workflow_refSHAs plus release tagwp_codebox_release_refpasses contract validation.wp_codebox_workflow_refstill checks helpers out from its release tag.Compatibility
This is an additive reusable-workflow input. Existing consumers retain release-tag helper behavior. Consumers opting into an accepted helper commit can execute workflow fixes without changing packaged runtime assets.
Closes #1891
AI assistance