feat(ci): add workflow_dispatch for retrying failed releases#33
Merged
carlos-alm merged 1 commit intomainfrom Feb 23, 2026
Merged
feat(ci): add workflow_dispatch for retrying failed releases#33carlos-alm merged 1 commit intomainfrom
carlos-alm merged 1 commit intomainfrom
Conversation
Contributor
Greptile SummaryAdds Key changes:
Issues found:
Confidence Score: 4/5
Important Files Changed
Last reviewed commit: 8d4f0cb |
Comment on lines
+58
to
+61
| elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then | ||
| VERSION="${{ inputs.version }}" | ||
| NPM_TAG="latest" | ||
| echo "Stable release (manual retry): $VERSION" |
Contributor
There was a problem hiding this comment.
No validation on inputs.version format - could cause issues if user enters version with "v" prefix or invalid semver
Suggested change
| elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then | |
| VERSION="${{ inputs.version }}" | |
| NPM_TAG="latest" | |
| echo "Stable release (manual retry): $VERSION" | |
| elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then | |
| VERSION="${{ inputs.version }}" | |
| # Validate semver format (no 'v' prefix) | |
| if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | |
| echo "::error::Invalid version format: $VERSION. Expected format: X.Y.Z (e.g., 2.1.0)" | |
| exit 1 | |
| fi | |
| NPM_TAG="latest" | |
| echo "Stable release (manual retry): $VERSION" |
Contributor
Additional Comments (1)
|
3 tasks
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
workflow_dispatchtrigger with a requiredversioninput to retry failed stable releases from the Actions UIworkflow_dispatchthrough the stable publish path (version from input,npm_tag=latest, version bump PR + tag)event_name != 'push'guards so bothreleaseandworkflow_dispatchrun the stable-only stepsTest plan
2.1.0, verify it runs the full stable publish pipeline