Skip to content

Commit dd7c0d0

Browse files
authored
chore: initial Qodo configuration (#2181)
1 parent 82f9469 commit dd7c0d0

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

.github/workflows/toml-checks.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
16+
- uses: tombi-toml/setup-tombi@f7cb38e77d9a62bc27a8445bf50e660e9496b893 # v1.0.7
17+
with:
18+
version: 'v0.7.22'
19+
checksum: '2f96342066b02ac374b2b457c9927264fd086256c1c6ccc817eced8367f1d83c'
20+
- name: Validate TOML files
21+
run: tombi lint

pr_agent.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 = true
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", "rhdh-bot", "dependabot"]
35+
36+
[rag_arguments]
37+
enable_rag=true
38+
rag_repo_list=['redhat-developer/rhdh','redhat-developer/red-hat-developers-documentation-rhdh']

0 commit comments

Comments
 (0)