diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 651597edb..dadfcc4f1 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -351,11 +351,12 @@ jobs: - name: Run Claude Code Review id: claude-review if: steps.gate.outputs.should_review == 'true' - uses: anthropics/claude-code-action@v1 + uses: anthropics/claude-code-action@eb56b6666facdbd501035f4a0269d8caee2e7a8b # v1.0.289 env: ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud with: anthropic_api_key: ${{ secrets.INFERENCE_GATEWAY_KEY }} + allow_fork_prs: 'true' allowed_bots: dependabot,dependabot[bot],kodiakhq,kodiakhq[bot],github-actions,github-actions[bot],cursor,cursor[bot],claude,claude[bot] # Bypasses OIDC, which is why this job grants no `id-token: write`: that # permission would put ACTIONS_ID_TOKEN_REQUEST_TOKEN/_URL in the reviewer's @@ -517,11 +518,13 @@ jobs: id: grade if: steps.grade-input.outcome == 'success' continue-on-error: true - uses: anthropics/claude-code-action@v1 + uses: anthropics/claude-code-action@eb56b6666facdbd501035f4a0269d8caee2e7a8b # v1.0.289 env: ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud with: anthropic_api_key: ${{ secrets.INFERENCE_GATEWAY_KEY }} + # v1.0.288 flipped this default to skip fork PRs; keep running on them. + allow_fork_prs: 'true' allowed_bots: dependabot,dependabot[bot],kodiakhq,kodiakhq[bot],github-actions,github-actions[bot],cursor,cursor[bot],claude,claude[bot] github_token: ${{ secrets.GITHUB_TOKEN }} allowed_non_write_users: '*' diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 1c0a209c9..51c3f04aa 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -45,7 +45,7 @@ jobs: - name: Run Claude Code id: claude - uses: anthropics/claude-code-action@v1 + uses: anthropics/claude-code-action@eb56b6666facdbd501035f4a0269d8caee2e7a8b # v1.0.289 env: ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud with: diff --git a/.github/workflows/deep-resolve.yml b/.github/workflows/deep-resolve.yml index 8faf5f16b..25c3b533c 100644 --- a/.github/workflows/deep-resolve.yml +++ b/.github/workflows/deep-resolve.yml @@ -151,7 +151,7 @@ jobs: run: corepack enable - name: Run Claude to apply fixes - uses: anthropics/claude-code-action@v1 + uses: anthropics/claude-code-action@eb56b6666facdbd501035f4a0269d8caee2e7a8b # v1.0.289 env: ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud with: diff --git a/.github/workflows/deep-review.yml b/.github/workflows/deep-review.yml index c0e79b3db..955d91754 100644 --- a/.github/workflows/deep-review.yml +++ b/.github/workflows/deep-review.yml @@ -464,11 +464,12 @@ jobs: - name: Run deep review id: review if: steps.gate.outputs.should_review == 'true' - uses: anthropics/claude-code-action@v1 + uses: anthropics/claude-code-action@eb56b6666facdbd501035f4a0269d8caee2e7a8b # v1.0.289 env: ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud with: anthropic_api_key: ${{ secrets.INFERENCE_GATEWAY_KEY }} + allow_fork_prs: 'true' github_token: ${{ secrets.GITHUB_TOKEN }} # bypasses OIDC auth (required for pull_request_target) # Pin the CLI to dodge the >=2.1.216 bwrap sandbox regression that # breaks every Bash call. Remove this input to revert to the action's