Skip to content

fix(MPC deadlock): give each RCOT consumer its own instance #91

fix(MPC deadlock): give each RCOT consumer its own instance

fix(MPC deadlock): give each RCOT consumer its own instance #91

name: Claude Assistant
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
claude-response:
if: |
contains(github.event.comment.body, '@claude') &&
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
id-token: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Run Claude
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
trigger_phrase: "@claude"
claude_args: "--model opus --max-turns 30 --append-system-prompt 'When reviewing PRs, follow the guidelines in .github/prompts/review.md'"
track_progress: "true"
settings: |
{
"permissions": {
"allow": ["Bash(gh *)", "Bash(git *)"]
}
}