Skip to content

Commit 8d777b6

Browse files
authored
chore: allow PRs from dependabot in Claude reviews (#726)
1 parent 014cd74 commit 8d777b6

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/claude-pr-review.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ concurrency:
1818

1919
jobs:
2020
review-dependency-updates:
21-
if: >-
22-
contains(github.head_ref, 'dependabot/')
21+
if: github.actor == 'dependabot[bot]'
2322
runs-on: ubuntu-latest
2423
timeout-minutes: 30
2524
permissions:
@@ -41,7 +40,7 @@ jobs:
4140
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
4241
track_progress: true
4342
use_sticky_comment: true
44-
allowed_bots: ci-signed-commit-bot
43+
allowed_bots: 'ci-signed-commit-bot, dependabot[bot]'
4544
claude_args: |
4645
--max-turns 30
4746
--model claude-opus-4-6
@@ -66,8 +65,8 @@ jobs:
6665
Only post GitHub comments - don't submit review text as messages.
6766
6867
review-general:
69-
if: >-
70-
!contains(github.head_ref, 'dependabot/')
68+
# Skip for Dependabot PRs
69+
if: github.actor != 'dependabot[bot]'
7170
runs-on: ubuntu-latest
7271
timeout-minutes: 30
7372
permissions:
@@ -94,7 +93,7 @@ jobs:
9493
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
9594
track_progress: true
9695
use_sticky_comment: true
97-
allowed_bots: kosli-ai-agent
96+
allowed_bots: 'kosli-ai-agent'
9897
claude_args: |
9998
--max-turns 30
10099
--model claude-opus-4-6

0 commit comments

Comments
 (0)