File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ types : [opened, reopened, ready_for_review]
4+ issue_comment :
5+ types : [created]
6+
7+ jobs :
8+ pr_agent_job :
9+ runs-on : ubuntu-latest
10+ if : ${{ github.event.comment.body == '/review' || github.event.comment.body == '/describe' || github.event.comment.body == '/improve' || github.event.comment.body == '/ask' || github.event.comment.body == '/update_changelog' || github.event.sender.type != 'Bot' && github.event.pull_request }}
11+ permissions :
12+ issues : write
13+ pull-requests : write
14+ contents : write
15+ name : Run PR Agent with Gemini
16+ steps :
17+ - name : PR Agent action
18+ uses : qodo-ai/pr-agent@main
19+ env :
20+ GOOGLE_AI_STUDIO_GEMINI_API_KEY : ${{ secrets.GEMINI_API_KEY }}
21+ CONFIG_MODEL : " gemini-2.5-pro-preview-05-6"
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments