Skip to content

Commit 66f9d24

Browse files
committed
Enhance PR agent configuration with review settings and workflow updates
- Added new review settings in .pr_agent.toml to enable auto-approval and define review effort requirements. - Updated the PR agent workflow to include additional environment variables for auto review, auto describe, and auto improve functionalities.
1 parent b5a2a59 commit 66f9d24

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/pr-agent.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
OPENROUTER_API_KEY: ${{ secrets.OPENROUTE_API_KEY }}
3232
OPENROUTER_BASE_URL: https://openrouter.ai/api/v1
33+
github_action_config.auto_review: "true" # enable\disable auto review
34+
github_action_config.auto_describe: "true" # enable\disable auto describe
35+
github_action_config.auto_improve: "true" # enable\disable auto improve
36+
github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested"]'
3337
# with:
3438
# args: |
3539
# --mode=review

.pr_agent.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
[config]
22
model="openrouter/deepseek/deepseek-r1-0528-qwen3-8b:free"
33
fallback_models=["openrouter/deepseek/deepseek-r1-0528:free"]
4+
5+
6+
[pr_reviewer]
7+
extra_instructions = ""
8+
enable_review_labels_security = false
9+
enable_review_labels_effort = false
10+
require_can_be_split_review = true
11+
enable_auto_approval = true
12+
maximal_review_effort = 1

0 commit comments

Comments
 (0)