Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: '*'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not run on forks because this agent can write to this repo.

env:
ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deep-resolve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already rejected forks

env:
ANTHROPIC_BASE_URL: https://inference-internal.clickhouse.cloud
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deep-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading