ci: record each published release in Linear Releases - #67
Merged
Conversation
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.
Adds a
linear-releasejob to the release workflow: after the PyPI publish succeeds, it syncs the new version into the Python SDK release pipeline in Linear vialinear/linear-release-action(pinned to v0.17.2).Attribution needs no convention change: the CLI detects the squash-merge PR numbers (
Title (#65)) and Linear resolves them to the issues those PRs are linked to via branch names. Issues then show which SDK version shipped them, and "merged but unreleased" becomes a filterable state instead of tribal knowledge.Safe to merge before the pipeline exists: the job skips with a warning while the
LINEAR_ACCESS_KEYsecret is unset (same pattern asDOCS_DISPATCH_TOKEN).To activate:
LINEAR_ACCESS_KEYrepo secret.Note: on the first sync only the current commit is scanned (no prior release bounds the range), so the first recorded release will attach little — the baseline for every later release.