Skip to content

PR-Agent Auto Review (CLI) #12

PR-Agent Auto Review (CLI)

PR-Agent Auto Review (CLI) #12

Workflow file for this run

name: PR-Agent (Self-hosted Nemotron)
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
issue_comment:
types: [created]
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: self-hosted
permissions:
issues: write
pull-requests: write
contents: write
steps:
- name: Run PR-Agent
env:
GITHUB__USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI__KEY: ${{ secrets.OPENAI_KEY }}
OPENAI__API_BASE: "http://localhost:8888/v1"
github_action_config.auto_review: "true" # enable\disable auto review
github_action_config.auto_describe: "true" # enable\disable auto describe
github_action_config.auto_improve: "true" # enable\disable auto improve
# 모델명 변경
CONFIG__MODEL: "openai/Qwen/Qwen3-Coder-Next-FP8"
CONFIG__MODEL_TURBO: "openai/Qwen/Qwen3-Coder-Next-FP8"
CONFIG__FALLBACK_MODELS: '["openai/Qwen/Qwen3-Coder-Next-FP8"]'
CONFIG__CUSTOM_MODEL_MAX_TOKENS: "32768"
CONFIG__DUPLICATE_EXAMPLES: "true"
run: |
source ~/pr-agent-env/bin/activate
pr-agent --pr_url "${{ github.event.pull_request.html_url }}" review