Repository navigation
ci(release): skip fix comments for preview and rc releases - #87
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Confidence Score: 5/5
[Low impact] This change appears safe to merge. SummarySkips
Reviews (1) · Last reviewed commit: "ci(release): skip fix comments for previ..." · Reviewed by Greptile |
Preview and rc releases run
comment-release-fixes, but the job cannot succeed for them:tag_patternpassed byrelease.ymlrejects revision tags such as4.1.0-preview1-2.This skips the job when the version contains
previeworrc, the same test the workflow uses to mark a release as a prerelease. Stable releases are unaffected.This came up in the 4.1.0-preview1 release run. That particular failure was reported as the hosted runner losing communication, which this change does not address; it removes the job that would be expected to fail on a rerun anyway.
Verification
tag_patternagainst4.1.0-preview1-2and4.0.0-rc1-1(no match) and4.0.6-3(match).actionlintonrelease.ymlreports only shellcheck info/style notes inrunblocks this PR does not touch.AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.
🤖 Generated with Claude Code
Note
Low Risk
CI-only guard on an optional post-release job; stable release behavior is unchanged.
Overview
The
comment-release-fixesjob now runs only when the release version is a stable build, not wheninputs.versioncontainsprevieworrc.That matches how the workflow already treats those strings as prereleases elsewhere, and avoids invoking the shared workflow when revision tags (e.g.
4.1.0-preview1-2) do not match the configuredtag_patternand the upstream script only supports non-prerelease releases.Reviewed by Cursor Bugbot for commit 2b72fd8. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit