Cherry-pick: Decouple PyPI publish from GitHub Release - #87
Merged
Conversation
* [IM-14373] Decouple GitHub Release from PyPI publish Split publish.yml into github-release.yml and pypi-publish.yml. Add PyPI ordering guard that blocks publishing newer versions before older ones are on PyPI. Update RELEASE.md to document two-step release process. * fix: avoid gitleaks false positive on Authorization header * fix: suppress checkov CKV2_GHA_1 and gitleaks false positives
sankalps0549
marked this pull request as ready for review
August 18, 2026 07:12
osinjoku
approved these changes
Aug 18, 2026
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.
Description
Cherry-pick of the decoupled release workflow from
release/27tomain.Splits the monolithic
publish.ymlinto two independent, operator-driven workflows:github-release.yml- creates a GitHub Release with the wheel asset attached (no PyPI publish)pypi-publish.yml- downloads the wheel from a GitHub Release and publishes to PyPI + deploys docs to GitHub PagesAlso adds a PyPI publish ordering guard (blocks publishing a newer version if older GitHub Releases are missing from PyPI), a duplicate-release-tag check, CI gate before release, and updates
RELEASE.mdto document the two-step process.Type of change
Checklist
Testing
Workflows were validated on the
release/27branch via PR #85 (merged). Thegithub-release.ymlandpypi-publish.ymlworkflows were triggered manually and confirmed operational. Security scanners (gitleaks, checkov) pass.Additional Notes
This is a cherry-pick of the squash-merge commit
a4f59c0fromrelease/27to bring the decoupled workflow changes forward tomain. The original PR was #85.