chore: add Devin bot to vouch list and skip draft requirement#3396
chore: add Devin bot to vouch list and skip draft requirement#3396
Conversation
|
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (31)
🔇 Additional comments (2)
WalkthroughThis pull request adds bot integration configuration by registering Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
| github.event.pull_request.author_association != 'OWNER' && | ||
| github.event.pull_request.author_association != 'COLLABORATOR' | ||
| github.event.pull_request.author_association != 'COLLABORATOR' && | ||
| github.event.pull_request.user.login != 'devin-ai-integration[bot]' |
There was a problem hiding this comment.
🚩 Bot exemption bypasses the draft-PR gate entirely
The new condition github.event.pull_request.user.login != 'devin-ai-integration[bot]' at line 31 causes the entire require-draft job to be skipped for the bot. This means the bot can open non-draft PRs without being closed — which is presumably intentional, but it also means the bot won't receive the CONTRIBUTING.md reminder comment that other external contributors get. If the bot ever opens a PR that shouldn't have been non-draft (e.g., a misconfigured run), there's no guardrail. This is a policy tradeoff rather than a bug, but worth the reviewer confirming this is the desired behavior.
Was this helpful? React with 👍 or 👎 to provide feedback.
No description provided.