fix: strip Linear issue IDs from generated release notes#42
Merged
Conversation
Wrapper release PR bodies copied changelog bullets containing Linear IDs next to magic words (fix, resolve), causing Linear to link every wrapper release PR to the same issues and repeatedly reopen/close their synced GitHub issues. Co-authored-by: Cursor <cursoragent@cursor.com>
sherwinski
approved these changes
Jul 9, 2026
Contributor
|
Does this break linear deployed for wrappers? |
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
Wrapper release PRs (Flutter, React Native, Cordova, etc.) copy changelog bullets from the native SDK release notes into their PR bodies. Those bullets contain Linear issue IDs next to Linear closing magic words (e.g.
fix: [SDK-4513] ...), so Linear links every wrapper release PR to the same Linear issues as a resolving PR. Each time a wrapper release PR opens or merges, Linear's Git automations flip the issue status, and the synced GitHub issue gets repeatedly reopened and closed by the linear-code bot (see the event spam on OneSignal/OneSignal-Android-SDK#2647).Details
[SDK-1234]and bareSDK-1234) from the generated release notes increate-release.ymlbefore the PR body is created or updated.OneSignal-Android-SDK/pull/2682) and version strings (e.g. "Android SDK from 5.9.5") are unaffected; verified the regex against a sample body and validated the workflow YAML parses.Made with Cursor