Skip to content

Commit 8f7b03f

Browse files
authored
Merge pull request #69 from nanasess/ci/skip-claude-review-on-dependabot
ci: skip claude-review on Dependabot PRs
2 parents 4a5c80c + 7e11f18 commit 8f7b03f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ on:
1212

1313
jobs:
1414
claude-review:
15+
# Skip on Dependabot PRs: such PRs may modify this workflow file (e.g. bumping
16+
# the actions/checkout SHA), which makes claude-code-action's OIDC token exchange
17+
# fail with "Workflow validation failed" because the workflow no longer matches the
18+
# version on the default branch. Skipping avoids that expected, unavoidable failure.
19+
if: github.actor != 'dependabot[bot]'
20+
1521
# Optional: Filter by PR author
1622
# if: |
1723
# github.event.pull_request.user.login == 'external-contributor' ||

0 commit comments

Comments
 (0)