Skip to content

Commit 7c85436

Browse files
authored
Merge pull request #1364 from derekmisler/invalid-path-for-agent-in-workflow
Fix path and prompt for PR review agent
2 parents 61ea04c + aa85091 commit 7c85436

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pr-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ jobs:
8787
- name: Run PR Reviewer Agent
8888
uses: docker/cagent-action@1f7ec0445e138a587639fc9c046076e22d184349
8989
with:
90-
agent: .github/workflows/agents/pr-review.yaml
90+
agent: ${{ github.workspace }}/.github/workflows/agents/pr-review.yaml
91+
prompt: "Please review this GitHub Pull Request: https://github.com/${{ github.repository }}/pull/${{ steps.get-context.outputs.pr_number }}"
9192
mcp-gateway: true
9293
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
9394
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)