diff --git a/.github/workflows/toml-checks.yaml b/.github/workflows/toml-checks.yaml index dd76fe66e8..c74c7889a0 100644 --- a/.github/workflows/toml-checks.yaml +++ b/.github/workflows/toml-checks.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - uses: tombi-toml/setup-tombi@cebfd308ba02edadfcee148b7473536990950c92 # v1.0.8 with: - version: 'v0.7.22' - checksum: '2f96342066b02ac374b2b457c9927264fd086256c1c6ccc817eced8367f1d83c' + version: 'v0.9.9' + checksum: 'b50dbc90ec27591dbaf564b628bd3b3e4ead371a60931bc8ea5f34d7cd1d3607' - name: Validate TOML files run: tombi lint \ No newline at end of file diff --git a/.pr_agent.toml b/.pr_agent.toml new file mode 100644 index 0000000000..c7e55962ee --- /dev/null +++ b/.pr_agent.toml @@ -0,0 +1,28 @@ +[jira] +jira_base_url = "https://redhat.atlassian.net" + +[github_app] +# what should be launched automatically +pr_commands = [ + "/agentic_review", + "/agentic_describe --pr_description.final_update_message=false", + "/generate_labels", +] + +[pr_test] +enable=false + +[review_agent] +comments_location_policy = "summary" + +[checks] +enable_auto_checks_feedback = true +persistent_comment = true +final_update_message = false + +[config] +ignore_pr_authors = ["renovate", "rhdh-bot", "dependabot"] + +[rag_arguments] +enable_rag=true +rag_repo_list=['redhat-developer/rhdh','redhat-developer/red-hat-developers-documentation-rhdh'] diff --git a/pr_agent.toml b/pr_agent.toml deleted file mode 100644 index 69ba454eed..0000000000 --- a/pr_agent.toml +++ /dev/null @@ -1,38 +0,0 @@ -[jira] -jira_api_token = "${{ secrets.JIRA_API_TOKEN }}" -jira_base_url = "https://issues.redhat.com" - -[github_app] -# what should be launched automatically -pr_commands = [ - "/review", - "/describe --pr_description.final_update_message=false", - "/improve", -] -feedback_on_draft_pr = true - -[pr_reviewer] # /review # -persistent_comment = true -require_tests_review = false -require_ticket_analysis_review = true -enable_review_labels_security = true -enable_review_labels_effort = true - -[pr_description] # /describe # -enable_pr_diagram = false -publish_labels = true -final_update_message = true -# without this, it can interfere with Sourcery AI -publish_description_as_comment = true -publish_description_as_comment_persistent = true -add_original_user_description = false - -[pr_code_suggestions] -commitable_code_suggestions = false - -[config] -ignore_pr_authors = ["renovate", "rhdh-bot", "dependabot"] - -[rag_arguments] -enable_rag=true -rag_repo_list=['redhat-developer/rhdh','redhat-developer/red-hat-developers-documentation-rhdh'] \ No newline at end of file