From f957cb8197ab2e21151ab5a18c5064407c79aafb Mon Sep 17 00:00:00 2001 From: Thomas Luizon Rodrigues Gregorio Date: Tue, 23 Jun 2026 16:50:37 -0300 Subject: [PATCH] ci: Claude review job reports green on Dependabot PRs (skip the step, not the job) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The review workflow should report success on Dependabot PRs while doing no review — not a skipped job. Move the dependabot guard from the job to the claude-code-action step: the job runs (checkout succeeds), the review step is skipped, so the review check is a green success with no review performed. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/claude-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index aa24d8ff..c87760ed 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -11,7 +11,6 @@ permissions: jobs: review: - if: ${{ github.actor != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 @@ -19,6 +18,7 @@ jobs: fetch-depth: 0 - uses: anthropics/claude-code-action@v1 + if: ${{ github.actor != 'dependabot[bot]' }} with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} prompt: |