WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4b32d73

Browse files
authored
add .pr-agent.toml (#348)
1 parent 9489d80 commit 4b32d73

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.pr_agent.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# https://github.com/qodo-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml
2+
3+
[config]
4+
# auto approval 💎
5+
enable_auto_approval=true # Set to true to enable auto-approval of PRs under certain conditions
6+
7+
[ignore]
8+
glob = [
9+
# Ignore files and directories matching these glob patterns.
10+
# See https://docs.python.org/3/library/glob.html
11+
'vendor/**','*.toml',
12+
]
13+
14+
[pr_reviewer]
15+
require_tests_review = false
16+
require_can_be_split_review = true
17+
extra_instructions="""\
18+
Emphasize the following:
19+
- Please use Japanese for everything.
20+
"""
21+
22+
[pr_description]
23+
generate_ai_title = true
24+
extra_instructions="""\
25+
Emphasize the following:
26+
- Please use Japanese for everything.
27+
- Titles should have a prefix following the commitlint pattern, such as feat:, chore:, test:, fix:, docs:, style:, refactor:, perf:, etc.
28+
"""
29+
30+
[pr_code_suggestions]
31+
commitable_code_suggestions = true
32+
# self-review checkbox
33+
demand_code_suggestions_self_review=true # add a checkbox for the author to self-review the code suggestions
34+
extra_instructions="""\
35+
Emphasize the following:
36+
- Please use Japanese for everything.
37+
"""

0 commit comments

Comments
 (0)