forked from konflux-ci/release-service-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pr_agent.toml
More file actions
42 lines (39 loc) · 1.52 KB
/
.pr_agent.toml
File metadata and controls
42 lines (39 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Qodo PR-Agent configuration
# Add only the settings you need.
# Docs: https://docs.qodo.ai/qodo-documentation/qodo-merge/configuration/configuration-file
[github_app]
# Ignore PRs opened by these authors.
ignore_pr_authors = ["red-hat-konflux", "release-service-bot"]
# Run review automatically when PRs are opened/reopened/ready.
pr_commands = [
"/review",
"/improve",
]
# Run review automatically when new commits are pushed to an open PR.
handle_push_trigger = true
push_commands = [
"/review",
"/improve",
]
[pr_reviewer]
# Limit review feedback to 3 findings per PR.
num_max_findings = 3
# Reuse a single summary comment rather than adding a new one on each update
persistent_comment = true
# Reinforce "3 inline comments" behavior.
extra_instructions = """
- Provide up to 3 inline review comments per PR.
- Prefer inline suggestions over a single summary comment.
"""
[pr_code_suggestions]
# Enable inline, committable suggestions.
commitable_code_suggestions = true
# Limit inline suggestions to 3 per PR.
num_code_suggestions_per_chunk = 3
# Reuse a single comment rather than adding a new one on each push.
persistent_comment = true
extra_instructions = """
- Before suggesting a change, verify whether the PR/task already includes it (or equivalent logic). If it already exists, do not suggest it.
- Do not repeat previously rejected suggestions in subsequent updates of the same PR if the thread was resolved without action.
- When parsing JSON from a variable in bash, use `jq ... <<< "$foo"` rather than `echo "$foo" | jq ...`.
"""