Merge pull request #5 from Sea-Haven-Industries/feature/add-pr-trigger

Add pull_request trigger for required workflow ruleset
This commit is contained in:
Adam Moussa 2026-05-06 20:08:05 -04:00 • committed by GitHub
commit e431c74f71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,8 @@
name: Claude Code Review
on:
pull_request:
types: [opened, synchronize]
workflow_call:
secrets:
anthropic_api_key:
@ -22,7 +24,7 @@ jobs:
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.anthropic_api_key }}
anthropic_api_key: ${{ secrets.anthropic_api_key || secrets.ANTHROPIC_API_KEY }}
prompt: |
Review this pull request. Focus on:
- Code correctness and potential bugs