fix(ci): allow release branch scopes in PR title validation#349
fix(ci): allow release branch scopes in PR title validation#349marythought merged 2 commits intomainfrom
Conversation
Release-please generates PR titles like `chore(release/v0.13): release 0.13.1-SNAPSHOT` for release branch PRs, but the scope `release/v0.13` was not in the allowed scopes list, causing the Validate PR Title check to fail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
📝 WalkthroughWalkthroughThe GitHub Actions workflow configuration now recognizes release-automation pull requests by extending the Conventional Commits validator to accept commit scope patterns matching Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
X-Test Failure Report |
|
X-Test Results✅ java-main |
## Summary - Adds `release/v0\.\d+` regex pattern to the allowed scopes in the PR title validation workflow - Fixes `Validate PR title` check failing on release-please PRs targeting release branches (e.g. #348, #315, #289) Release-please uses the pattern `chore(${branch}): release ${version}` for PR titles, which produces scopes like `release/v0.13` for release branch PRs. These scopes were not in the allowed list, causing CI to fail. ## Test plan - [x] Verify this PR's own `Validate PR title` check passes - [ ] Confirm #348 passes after this merges (or re-run its check) 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enhanced pull request validation workflow to recognize and properly handle release automation processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Mary Dickson <mary.dickson@virtru.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>



Summary
release/v0\.\d+regex pattern to the allowed scopes in the PR title validation workflowValidate PR titlecheck failing on release-please PRs targeting release branches (e.g. chore(release/v0.13): release 0.13.1-SNAPSHOT #348, chore(release/v0.11): release 0.11.1-SNAPSHOT #315, chore(release/v0.10): release 0.10.1-SNAPSHOT #289)Release-please uses the pattern
chore(${branch}): release ${version}for PR titles, which produces scopes likerelease/v0.13for release branch PRs. These scopes were not in the allowed list, causing CI to fail.Test plan
Validate PR titlecheck passes🤖 Generated with Claude Code
Summary by CodeRabbit