Uh oh!
There was an error while loading. Please reload this page.
ci(release): auto-open a python-sdk incorporation issue on release - #53
Merged
Conversation
Adds a notify-python-sdk job (needs: release) that extracts the CHANGELOG section for the released version and opens a tracking issue on codellm-devkit/python-sdk so its codeanalyzer-python pin and integration can be updated. Mirrors the homebrew job's cross-repo PAT pattern: needs a SDK_ISSUE_TOKEN secret with Issues:write on python-sdk (the default GITHUB_TOKEN cannot open issues cross-repo). Isolated in its own job so a missing token does not affect the PyPI or GitHub Release steps.
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 freeto 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.
Adds a release-workflow job that opens a tracking issue on python-sdk whenever a new version ships, so the consumer's pin and integration get updated.
Motivation and Context
python-sdk consumes codeanalyzer-python as a library and pins it exactly. A release (especially a breaking one like 0.3.0) needs a matching change there. This makes that follow-up automatic instead of manual.
How Has This Been Tested?
YAML validated. The CHANGELOG extraction (awk pulls the section under
## [VERSION]up to the next## [) was run against the current file and returns the full 0.3.0 section. The cross-repo issue creation cannot run until the token secret exists (see Breaking Changes).Breaking Changes
None to the package. One setup step: add a repo secret
SDK_ISSUE_TOKEN, a PAT (or fine-grained token) with Issues:write on codellm-devkit/python-sdk. Without it, the new job fails, but it is isolated (needs: release), so PyPI and the GitHub Release still succeed. Mirrors the existingHOMEBREW_TAP_TOKENpattern.Types of changes
Checklist
Additional context
New job
notify-python-sdk:Note: GitHub issues are repository-scoped, not branch-scoped, so the issue opens on the python-sdk repo (it cannot target a specific branch).