Automatically reject clear contribution-policy violations - #161
Conversation
|
Good — the root I have enough to complete the review. Let me confirm there are no genuine bugs in the exemption logic order (e.g., a fixed PR that becomes compliant between the two fetches). The logic is sound. Let me finalize my assessment. The code is well-structured, tested, and the security posture around Let me reconsider two things carefully before concluding:
No actionable issues found. LGTM! |
|
Let me consider the concurrency/cancel-in-progress interaction with the close operation, and whether closing then commenting order matters. The code comments first (line 91-105), then closes (line 107-112). Correct order — the explanation is posted before the close. One more consideration: the Let me double check whether there's a concern with the reopen loop that the prior bonk comment raised — the override label requires a maintainer, and the comment tells users to fix and reopen. That's a reasonable design. I've completed a thorough review. Let me summarize my findings. ReviewI reviewed all four files. The change is well-constructed and I found no actionable defects. Key points I verified:
Non-blocking observations (not requesting changes):
LGTM! |
|
UnknownError: Your AI Gateway has authentication active, but you didn't provide a valid apiKey |
|
@dcartertwo Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
The contribution policy has both objective requirements and a subjective final judgment. This automates only the objective rejection cases: incomplete author confirmations and patches over 30 changed lines. It deliberately does not decide whether a remaining PR is obviously correct or trivially verifiable; that stays with maintainers.
Because closing fork PRs requires a write-capable workflow, it executes only repository-owned code and never checks out the contributor’s branch.
Depends on #144.