Skip to content
Merged
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
44 changes: 32 additions & 12 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ jobs:
needs: [changes, contracts-lint]
if: needs.changes.outputs.contracts_review == 'true' && needs.changes.outputs.can_run_claude_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -477,11 +478,14 @@ jobs:
echo "${DELIMITER}" >> "$GITHUB_OUTPUT"

- name: Run Claude review
uses: anthropics/claude-code-action@beta
# v1.0.111 — pin by SHA for security (third-party action with write perms + secrets).
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
direct_prompt: ${{ steps.build-prompt.outputs.prompt }}
allowed_tools: "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"
prompt: ${{ steps.build-prompt.outputs.prompt }}
claude_args: |
--model claude-opus-4-7
--allowedTools "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"

- name: Check for blocking findings
if: always()
Expand Down Expand Up @@ -532,6 +536,7 @@ jobs:
needs: [changes, contracts-lint]
if: needs.changes.outputs.contracts_review == 'true' && needs.changes.outputs.can_run_ai_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -644,6 +649,7 @@ jobs:
needs: [changes, client-lint]
if: needs.changes.outputs.client_review == 'true' && needs.changes.outputs.can_run_claude_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -706,11 +712,14 @@ jobs:
echo "${DELIMITER}" >> "$GITHUB_OUTPUT"

- name: Run Claude review
uses: anthropics/claude-code-action@beta
# v1.0.111 — pin by SHA for security (third-party action with write perms + secrets).
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
direct_prompt: ${{ steps.build-prompt.outputs.prompt }}
allowed_tools: "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"
prompt: ${{ steps.build-prompt.outputs.prompt }}
claude_args: |
--model claude-opus-4-7
--allowedTools "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"

- name: Check for blocking findings
if: always()
Expand Down Expand Up @@ -761,6 +770,7 @@ jobs:
needs: [changes, client-lint]
if: needs.changes.outputs.client_review == 'true' && needs.changes.outputs.can_run_ai_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -873,6 +883,7 @@ jobs:
needs: [changes, indexer-api-lint]
if: needs.changes.outputs.indexer_api_review == 'true' && needs.changes.outputs.can_run_claude_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -935,11 +946,14 @@ jobs:
echo "${DELIMITER}" >> "$GITHUB_OUTPUT"

- name: Run Claude review
uses: anthropics/claude-code-action@beta
# v1.0.111 — pin by SHA for security (third-party action with write perms + secrets).
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
direct_prompt: ${{ steps.build-prompt.outputs.prompt }}
allowed_tools: "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"
prompt: ${{ steps.build-prompt.outputs.prompt }}
claude_args: |
--model claude-opus-4-7
--allowedTools "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"

- name: Check for blocking findings
if: always()
Expand Down Expand Up @@ -1002,6 +1016,7 @@ jobs:
needs: [changes, indexer-api-lint]
if: needs.changes.outputs.indexer_api_review == 'true' && needs.changes.outputs.can_run_ai_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -1114,6 +1129,7 @@ jobs:
needs: [changes]
if: needs.changes.outputs.general_review == 'true' && needs.changes.outputs.can_run_claude_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -1177,11 +1193,14 @@ jobs:
echo "${DELIMITER}" >> "$GITHUB_OUTPUT"

- name: Run Claude review
uses: anthropics/claude-code-action@beta
# v1.0.111 — pin by SHA for security (third-party action with write perms + secrets).
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
direct_prompt: ${{ steps.build-prompt.outputs.prompt }}
allowed_tools: "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"
prompt: ${{ steps.build-prompt.outputs.prompt }}
claude_args: |
--model claude-opus-4-7
--allowedTools "Bash(git diff *),Bash(git log *),Bash(git show *),Read,Glob,Grep"

- name: Check for blocking findings
if: always()
Expand Down Expand Up @@ -1232,6 +1251,7 @@ jobs:
needs: [changes]
if: needs.changes.outputs.general_review == 'true' && needs.changes.outputs.can_run_ai_reviews == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
issues: write
Expand Down
Loading