chore: add .pr_agent.toml to configure Qodo reviews#10416
Conversation
Code Review by Qodo
1. Automation not documented
|
PR Summary by QodoAdd Qodo PR Agent config to auto-run agentic describe/review WalkthroughsDescription• Adds repository-level .pr_agent.toml to enable Qodo agentic PR automation. • Runs /agentic_describe + /agentic_review on PR open; reruns review on pushes. • Skips automated reviews for known bot-authored PRs (dependabot/renovate/teambit-ci). Diagramgraph TD
A["Pull request event"] --> B["Qodo GitHub App"] --> C[".pr_agent.toml"] --> D["/agentic_describe"] --> E["/agentic_review"]
C --> F{"Author ignored?"}
F -->|"Yes"| G["Skip automation"]
F -->|"No"| D
subgraph Legend
direction LR
_evt["Event"] ~~~ _svc["Service"] ~~~ _cfg["Config"] ~~~ _cmd["Command"] ~~~ _dec{"Decision"}
end
High-Level AssessmentThe following are alternative approaches to this PR: 1. GitHub Actions workflow for PR automation
2. Only run on PR open (disable push trigger)
Recommendation: Using File ChangesOther (1)
|
There was a problem hiding this comment.
Pull request overview
Adds repository-level configuration for the Qodo PR-Agent GitHub app so agentic description/review commands run automatically on PR open and on new pushes, while skipping bot-authored PRs.
Changes:
- Introduces
.pr_agent.tomlwith default PR-open commands (/agentic_describe,/agentic_review). - Enables push-triggered re-reviews (
handle_push_trigger = true) and configures/agentic_reviewon push. - Configures bot author ignore list (dependabot, renovate, teambit-ci) with an optional (commented) title-regex ignore list.
Adds
.pr_agent.tomlto enable Qodo agentic reviews on PRs./agentic_describe+/agentic_review/agentic_review