Skip to content

Commit f100e64

Browse files
committed
fix: skip Claude code review workflow for Dependabot PRs
Dependabot PRs don't have access to repository secrets, causing the workflow to fail. Add condition to skip the job when actor is dependabot[bot]. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent a063965 commit f100e64

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ on:
1212

1313
jobs:
1414
claude-review:
15-
# Optional: Filter by PR author
16-
# if: |
17-
# github.event.pull_request.user.login == 'external-contributor' ||
18-
# github.event.pull_request.user.login == 'new-developer' ||
19-
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
15+
# Skip Dependabot PRs - they don't have access to secrets
16+
if: github.actor != 'dependabot[bot]'
2017

2118
runs-on: ubuntu-latest
2219
permissions:

0 commit comments

Comments
 (0)