Skip to content

chore(main): release 0.6.1 #52

chore(main): release 0.6.1

chore(main): release 0.6.1 #52

Workflow file for this run

name: Claude Code
# https://docs.anthropic.com/en/docs/claude-code/github-actions
on:
issue_comment:
types: [created]
jobs:
claude:
if: (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude'))
runs-on: [arc-runner-set]
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
steps:
- name: Fetch owner/repo of pull request
uses: alessbell/[email protected]
id: comment-branch
- name: Checkout repository
uses: actions/checkout@v4
with:
# SECURITY: Pin to exact commit at comment time to prevent TOCTOU attacks
ref: ${{ steps.comment-branch.outputs.head_sha }}
repository: ${{ steps.comment-branch.outputs.head_owner }}/${{ steps.comment-branch.outputs.head_repo }}
# Fetch more history for better git operations
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@beta
env:
CLAUDE_CODE_MAX_OUTPUT_TOKENS: "30000" # any safe value < 32000 to avoid reaching token limit
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
model: "claude-sonnet-4-5-20250929"
# Optional: Customize the trigger phrase (default: @claude)
# trigger_phrase: "/claude"
# Optional: Trigger when specific user is assigned to an issue
# assignee_trigger: "claude-bot"
# Allow Claude to run specific commands
allowed_tools: |
mcp__github__create_pull_request
Bash(pnpm install --ignore-scripts)
Bash(pnpm test:*)
Bash(pnpm fmt:sol)
Bash(pnpm snapshot:*)
Bash(pnpm compile:*)
Bash(pnpm layout:*)
Bash(cat *)
Bash(find *)
Bash(grep *)
Bash(ls *)
Bash(git remote remove fork-pr-*)
WebFetch(domain:docs.anthropic.com)
# Add custom instructions for Claude to customize its behavior for your project
custom_instructions: |
For protocol(smart contract) changes always start in the `packages/protocol` directory.
You MUST run `pnpm install --ignore-scripts` first for security (prevents malicious lifecycle scripts).
You MUST follow the development workflow described in CLAUDE.md.
You MUST make sure the tests are passing before creating a pull request.
You MUST open a draft pull request after creating a branch.
You MUST create a pull request after completing your task.
You can create pull requests using the `mcp__github__create_pull_request` tool.