-
-
Notifications
You must be signed in to change notification settings - Fork 0
22 lines (22 loc) · 702 Bytes
/
Copy pathpr_agent.yml
File metadata and controls
22 lines (22 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
on:
pull_request:
types: [opened, reopened, ready_for_review]
issue_comment:
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
name: Run pr agent on every pull request, respond to user comments
steps:
- name: PR Agent action step
id: pragent
uses: qodo-ai/pr-agent@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOOGLE_AI_STUDIO.GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CONFIG.MODEL: "gemini/gemini-2.5-pro-exp-03-25"
CONFIG.FALLBACK_MODELS: '["gemini/gemini-1.5-flash"]'