feat: support org-level issue/PR templates from .github repo#441
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe assessor now falls back to GitHub organization-level templates when a repository lacks its own ChangesOrg-Level Template Fallback
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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 |
|
Tested this against Evidence from the assessment:
Error handling also looks solid: each API call is wrapped in One minor note: This comment is from Bill Murdock with assistance from Claude Code. |
When a repository lacks local issue or PR templates, fall back to checking the GitHub organization's .github repository via the REST API. This matches GitHub's own template inheritance behavior. Closes ambient-code#430. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
70188c0 to
67ec7ec
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📈 Test Coverage Report
Coverage calculated from unit tests only |
|
🎉 This PR is included in version 2.38.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
.github/ISSUE_TEMPLATE/orPULL_REQUEST_TEMPLATE.md, theissue_pr_templatesassessor now falls back to checking the GitHub organization's.githubrepository via the REST APIGITHUB_TOKENif available (for private org.githubrepos), works unauthenticated for public reposCloses #430
Test plan
_parse_github_owner(HTTPS, SSH, non-GitHub, None, empty)kagenti/kagenti(the example from the issue)This PR was created by Bill Murdock with assistance from Claude Code.
🤖 Generated with Claude Code
Summary by CodeRabbit