Repository navigation
ci: match scoped release PR titles in auto-merge - #134
Conversation
release-plz titles its release PR `chore(tak-cli): release vX.Y.Z` when a
single crate is released, so the `startswith("chore: release")` filter never
matched and the release PR was never merged automatically. Accept an
optional scope, and make cliff.toml's release-commit skip rule match the
same titles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedNext included review available in 36 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instruction countsNothing was compared, and so nothing was gated. No series appears on both sides: either the base has no measurements recorded, or the two were measured on different runner classes, which are deliberately not comparable — counts shift between machine types by more than a real regression does. New, nothing to compare against: Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run. Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes.
|
https://entire.io/gh/jdx/tak/trails/19
The release PR was never merged automatically.
auto-merge-release.ymllooked for an open PR whose title starts withchore: release. But when release-plz releases a single crate, it titles the PR with the crate as a scope, for examplechore(tak-cli): release v0.0.12(#133) orchore(tak-cli): release v0.0.11(#100). Neither the daily schedule nor a manualgh workflow run auto-merge-release.yml(the early-release path in RELEASING.md) found them. On 2026-09-24, run 36034389411 loggedNo open release-plz release PR to main, and #133 had to be merged by hand.Changes
auto-merge-release.yml: the title filter is nowtest("^chore(\\([^)]+\\))?: release( |$)"). It accepts bothchore(<crate>): release v<version>and the unscopedchore: releasethat release-plz uses when it releases several crates at once (chore: release #27). The other checks are unchanged: head branch prefixrelease-plz-, head ownerjdx, basemain, and a non-empty body.cliff.toml: the rule that keeps release commits out of the changelog now matches the same optional scope and requires a space or end of subject afterrelease, like the PR-title filter (^chore(\([^)]+\))?: (release|Release)( |$)). A commit such aschore(ci): release-plz configtherefore still appears in the changelog.Verification
chore: release).chore: release-plz config,chore(ci): releases cleanupandfix: release foo.AI-assisted — Tool: Claude Code; model: anthropic/claude-opus-5-5; version: unavailable.
🤖 Generated with Claude Code
Note
Low Risk
CI and changelog regex tweaks only; no runtime or auth behavior changes.
Overview
Fixes release auto-merge failing when release-plz opens a single-crate PR titled
chore(<crate>): release v<version>instead of the unscopedchore: release.The
auto-merge-release.ymljq title filter now uses a regex that accepts an optional scope beforerelease, while keeping the existing guards (branch prefix, head owner, non-empty body).cliff.tomluses the same pattern so scoped release commits stay excluded from the changelog.Reviewed by Cursor Bugbot for commit 4a6b591. Bugbot is set up for automated code reviews on this repo. Configure here.