ci(release): Run automated release workflows outside PR context#513
Merged
vishal-bala merged 4 commits intomainfrom Feb 27, 2026
Merged
ci(release): Run automated release workflows outside PR context#513vishal-bala merged 4 commits intomainfrom
vishal-bala merged 4 commits intomainfrom
Conversation
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
rbs333
approved these changes
Feb 27, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
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.
The existing
autorelease workflow is triggered by pull requests to create new releases. Apparently this corresponds toautofocusing on the specific PR that triggered the workflow to base its version bump as opposed to the entire change context since the last release.The recommended flow is to use the
auto shipitcommand to ensure that all of the relevant PR context is factored into the release. This PR refactors the workflow to to be triggered by pushes tomain(with logic to exclude release bot commits), which should result in the expected behaviour. It also enables the workflow to be manually triggered, which should save some frustration until the process is ironed out.Note
Medium Risk
Changes the automated release trigger and versioning commands, which can directly impact when/what gets released and published to PyPI. Risk is mitigated by gating on the
auto:releaselabel and skipping bot-triggered loops, but misconfiguration could block or incorrectly run releases.Overview
Moves the release workflow from
pull_request: closedtopushonmain(plusworkflow_dispatch) and adds agatejob that finds the PR associated with the pushed commit and only proceeds when it has theauto:releaselabel (and skips runs triggered by the release bot).Updates the release steps to use
auto shipit(instead ofauto latest) for dry-run/version resolution and for creating the GitHub release, adds stricter shell error handling, and changes the version-bump commit to include[skip ci]to prevent workflow recursion.Bumps the
uv.lockrevision and updates the editable package versionredisvlfrom0.14.0to0.14.1.Written by Cursor Bugbot for commit 13fbe34. This will update automatically on new commits. Configure here.