Skip to content

Commit 796f325

Browse files
FIX: point PR Agent workflow at the renamed action repo
Codium-ai/pr-agent-action no longer exists (the project moved to the-pr-agent/pr-agent), which made the "Run PR Agent" check fail with "Unable to resolve action". Updates the action reference, grants the contents: write permission it now requires, and sets the Gemini key via the GOOGLE_AI_STUDIO.GEMINI_API_KEY env var per the new action's docs.
1 parent 96187f3 commit 796f325

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎.github/workflows/pr_agent.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ jobs:
1212
permissions:
1313
issues: write
1414
pull-requests: write
15-
contents: read
15+
contents: write
1616
name: Run PR Agent
1717
steps:
1818
- name: PR Agent Action
19-
uses: Codium-ai/pr-agent-action@main
19+
uses: the-pr-agent/pr-agent@main
2020
env:
21-
OPENAI_KEY: ${{ secrets.GEMINI_API_KEY }}
22-
PR_AGENT.MODEL: "gemini/gemini-2.5-pro"
21+
GOOGLE_AI_STUDIO.GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
2322
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)