mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 11:43:11 +00:00
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:
commit
e431c74f71
1 changed files with 3 additions and 1 deletions
4
.github/workflows/claude-code-review.yaml
vendored
4
.github/workflows/claude-code-review.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue