mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +00:00
Add draft PR guard to skip reviews on draft PRs
This commit is contained in:
parent
f949881bba
commit
750d4575ed
1 changed files with 2 additions and 1 deletions
3
.github/workflows/claude-code-review.yaml
vendored
3
.github/workflows/claude-code-review.yaml
vendored
|
|
@ -21,6 +21,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
claude-review:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
|
|
@ -55,4 +56,4 @@ jobs:
|
|||
Only post GitHub comments — do not submit review text as messages.
|
||||
|
||||
claude_args: |
|
||||
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
|
||||
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
|
||||
Loading…
Add table
Reference in a new issue