Support manual tag releases & add sanity checks#66
Merged
Conversation
Add workflow_dispatch input (release_tag) and validate its format so the workflow can be run manually for a specific tag. Update checkout steps to use the provided tag for manual runs, and relax job guards to allow workflow_dispatch to trigger release/build/publish jobs. Add per-run validation steps that ensure a tag-like value is provided. Bump publish job Python to 3.12, add an explicit pre-upload check for the TWINE_API_KEY secret, and remove the twine --verbose flag. Also update the workflow usage comment to mention manual re-runs.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Python package build/release GitHub Actions workflow to support manually-triggered (workflow_dispatch) builds/publishes for a specified release tag, with added sanity checks and a more modern publish environment.
Changes:
- Add
workflow_dispatchinputrelease_tag, validate it, and use it to checkout the intended tag for manual runs. - Relax
build_release/publishjob guards to allow manual runs in addition to tag pushes. - Update publishing to Python 3.12, add a pre-upload credential presence check, and remove
twine --verbose.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
deruyter92
approved these changes
Mar 13, 2026
Contributor
deruyter92
left a comment
There was a problem hiding this comment.
Great work. Good that you added the manual dispatch as well
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.
Publish workflow tweaks