Repository navigation
Release for v0.0.2 #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Agent | |
| on: | |
| pull_request: | |
| types: [opened, reopened, ready_for_review, synchronize] | |
| issue_comment: | |
| types: [created, edited] | |
| jobs: | |
| pr_agent_job: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| contents: write | |
| checks: write | |
| if: ${{ github.event.sender.type != 'Bot' }} | |
| steps: | |
| - name: PR Agent action step | |
| uses: the-pr-agent/pr-agent@743f52d80f3513193dfc7626f778c73478df6d0a # v0.41.1 | |
| env: | |
| OPENAI_KEY: ${{ secrets.OPENAI_KEY }} | |
| OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }} | |
| openrouter.key: ${{ secrets.OPENROUTER_KEY }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| github_action_config.auto_review: "true" | |
| github_action_config.auto_describe: "true" | |
| github_action_config.auto_improve: "true" | |
| github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "synchronize"]' | |
| config.model: "openrouter/openai/gpt-5.6-luna" | |
| config.fallback_models: '["openrouter/moonshotai/kimi-k2.7-code"]' | |
| config.custom_model_max_tokens: 256000 | |
| config.max_model_tokens: 120000 | |
| config.temperature: "0" | |
| pr_code_suggestions.commitable_code_suggestions: "true" | |
| pr_reviewer.num_code_suggestions: "3" | |
| pr_reviewer.enable_review_score: "false" | |
| pr_reviewer.extra_instructions: | | |
| Review only: | |
| - correctness | |
| - bugs | |
| - security | |
| - performance | |
| - maintainability | |
| Ignore: | |
| - formatting | |
| - naming | |
| - style | |
| - comments | |
| Do not suggest refactoring unless it addresses | |
| a maintainability or correctness issue. | |
| Be concise. |