Skip to content

Commit 2a5ee51

Browse files
authored
chore: initial Qodo configuration (#3403)
1 parent c7c0983 commit 2a5ee51

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

.github/workflows/toml-checks.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR TOML Validator
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.toml'
7+
pull_request:
8+
paths:
9+
- '**.toml'
10+
11+
jobs:
12+
validate:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v5
16+
- uses: tombi-toml/setup-tombi@v1
17+
- name: Validate TOML files
18+
run: tombi lint

.pr_agent.toml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[jira]
2+
jira_api_token = "${{ secrets.JIRA_API_TOKEN }}"
3+
jira_base_url = "https://issues.redhat.com"
4+
5+
[github_app]
6+
# what should be launched automatically
7+
pr_commands = [
8+
"/review",
9+
"/describe --pr_description.final_update_message=false",
10+
"/improve",
11+
]
12+
feedback_on_draft_pr = false
13+
14+
[pr_reviewer] # /review #
15+
persistent_comment = true
16+
require_tests_review = false
17+
require_ticket_analysis_review = true
18+
enable_review_labels_security = true
19+
enable_review_labels_effort = true
20+
21+
[pr_description] # /describe #
22+
enable_pr_diagram = false
23+
publish_labels = true
24+
final_update_message = true
25+
# without this, it can interfere with Sourcery AI
26+
publish_description_as_comment = true
27+
publish_description_as_comment_persistent = true
28+
add_original_user_description = false
29+
30+
[pr_code_suggestions]
31+
commitable_code_suggestions = false
32+
33+
[config]
34+
ignore_pr_authors = ["renovate","openshift-cherrypick-robot","rhdh-bot"]
35+
allow_only_specific_folders=["e2e-tests"]
36+
37+
[rag_arguments]
38+
enable_rag=true
39+
rag_repo_list=["redhat-developer/rhdh","redhat-developer/red-hat-developers-documentation-rhdh","redhat-developer/rhdh-operator","redhat-developer/rhdh-chart"]

0 commit comments

Comments
 (0)