File tree Expand file tree Collapse file tree 1 file changed +18
-10
lines changed
Expand file tree Collapse file tree 1 file changed +18
-10
lines changed Original file line number Diff line number Diff line change 11name : PR Agent
22on :
33 pull_request :
4- types : [opened, synchronize]
4+ types : [opened, reopened, ready_for_review]
5+ issue_comment :
56jobs :
67 pr_agent_job :
8+ if : ${{ github.event.sender.type != 'Bot' }}
79 runs-on : ubuntu-latest
10+ permissions :
11+ issues : write
12+ pull-requests : write
13+ contents : write
14+ name : Run pr agent on every pull request, respond to user comments
815 steps :
9- - name : PR Agent action step
10- uses : Codium-ai/pr-agent@main
11- env :
12- OPENAI_KEY : ${{ secrets.OPENAI_KEY }}
13- OPENAI_API_BASE : ${{ secrets.OPENAI_API_BASE }}
14- CONFIG.MODEL : " gpt-4o-mini"
15- CONFIG.MODEL_TURBO : " gpt-4o-mini"
16- OPENAI.API_BASE : ${{ secrets.OPENAI_API_BASE }}
17- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ - name : PR Agent action step
17+ id : pragent
18+ uses : qodo-ai/pr-agent@main
19+ env :
20+ OPENAI_KEY : ${{ secrets.OPENAI_KEY }}
21+ OPENAI_API_BASE : ${{ secrets.OPENAI_API_BASE }}
22+ CONFIG.MODEL : " gpt-4o-mini"
23+ CONFIG.MODEL_TURBO : " gpt-4o-mini"
24+ OPENAI.API_BASE : ${{ secrets.OPENAI_API_BASE }}
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments