Skip to content

Support manual tag releases & add sanity checks#66

Merged
C-Achard merged 1 commit intomasterfrom
cy/deploy-ci-tweaks
Mar 13, 2026
Merged

Support manual tag releases & add sanity checks#66
C-Achard merged 1 commit intomasterfrom
cy/deploy-ci-tweaks

Conversation

@C-Achard
Copy link
Contributor

@C-Achard C-Achard commented Mar 13, 2026

Publish workflow tweaks

  • 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 existence check for the TWINE_API_KEY secret (safe), and remove the twine --verbose flag.
  • Update the workflow usage comment to mention manual re-runs.

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.
@C-Achard C-Achard self-assigned this Mar 13, 2026
@C-Achard C-Achard added CI Related to CI, tests, workflows... packaging Related to project packaging and release labels Mar 13, 2026
@C-Achard C-Achard requested a review from Copilot March 13, 2026 08:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_dispatch input release_tag, validate it, and use it to checkout the intended tag for manual runs.
  • Relax build_release/publish job 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 deruyter92 self-requested a review March 13, 2026 09:22
Copy link
Contributor

@deruyter92 deruyter92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. Good that you added the manual dispatch as well

@C-Achard C-Achard merged commit 5074bd5 into master Mar 13, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Related to CI, tests, workflows... packaging Related to project packaging and release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants