Fix claude-code-action input names

direct_prompt and review_comments are not valid inputs for
claude-code-action@v1. Use prompt instead.
This commit is contained in:
Adam Moussa 2026-05-06 19:40:31 -04:00
parent 4a1d53aca2
commit 6ab1889bb8

View file

@ -22,8 +22,7 @@ jobs:
- uses: anthropics/claude-code-action@v1 - uses: anthropics/claude-code-action@v1
with: with:
anthropic_api_key: ${{ secrets.anthropic_api_key }} anthropic_api_key: ${{ secrets.anthropic_api_key }}
review_comments: "true" prompt: |
direct_prompt: |
Review this pull request. Focus on: Review this pull request. Focus on:
- Code correctness and potential bugs - Code correctness and potential bugs
- Security issues (hardcoded secrets, injection, OWASP top 10) - Security issues (hardcoded secrets, injection, OWASP top 10)