Repository navigation
ci(release): record stable releases in Linear - #49
Open
gorandodig wants to merge 6 commits into
Open
gorandodig wants to merge 6 commits into
gorandodig wants to merge 6 commits into
Conversation
Each stable release syncs to Linear with the PRs merged since the previous one, found through GitHub so rebase merges count, and the GitHub release text as notes, its #N references linked to this repo. Log-only until LINEAR_RELEASE_MODE is live.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
A hung Linear or GitHub call would otherwise hold the job, and the Slack notice that waits for it, until the 6-hour job limit. Linear calls also give up after 30 seconds.
- Leave #N inside fenced code alone. - A new tag on an already released commit gets no PRs. - Fail in live mode without an access key, and when Linear reports a failed sync. - Warn in Slack when the job fails before the step runs.
- A code fence closes only on a line of its own, with the same character and at least as many; one that never closes runs to the end. - A re-run of an older version only looks at releases before it. - JSDoc on the script's functions.
- Fences inside block quotes count, and end with their quote. - Inline code with longer backtick runs (``like this``) is left alone.
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.
Each stable release is recorded in the team's Linear release pipeline, and the Slack "published" notice links it. Pre-releases are skipped.
dev, so rebase merges count. Linear attaches the issues linked to those PRs.#Nis written out as a full link to this repo, because Linear matches a bare#Nagainst every repo it knows.The script,
.github/scripts/record-linear-release.cjs, is checked with unit tests and with dry runs against this repo's releases.To switch it on:
LINEAR_ACCESS_KEYsecret with the access key of the Linear pipeline.LINEAR_RELEASE_MODEvariable tolive. Until then the job only logs what it would send.