Skip to content

Fix phonetics for 撮 #1627

Fix phonetics for 撮

Fix phonetics for 撮 #1627

Workflow file for this run

name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
concurrency:
group: claude-manual-${{ github.event.pull_request.number || github.event.issue.number }}
cancel-in-progress: true
jobs:
claude:
# Only trigger when @claude is mentioned in PR-related events
# Note: This workflow requires PR context and will not run on plain issues
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && github.event.issue.pull_request) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude'))
permissions:
contents: read # Required for repository checkout
issues: read # Required for reading issue context
pull-requests: write # Required for posting PR reviews
actions: read # Required for Claude to read CI results
id-token: write # Required for OIDC token exchange
# Use the reusable workflow which contains the standardized MCP tool configuration
# This eliminates duplication and ensures consistency across all Claude workflows
uses: ./.github/workflows/claude-review-reusable.yml
with:
prompt: |
Please review this PR and provide inline feedback using the GitHub review system. Follow these steps:
1. **Get PR context** (optional): Use `mcp__github__get_pull_request` to understand the PR's purpose, title, and description
2. **Get user context** (optional): Use `mcp__github__get_me` to understand the authenticated user
3. **Start a review**: Use `mcp__github__create_pending_pull_request_review` to begin a pending review
4. **Get diff information**: Use `mcp__github__get_pull_request_diff` to understand the code changes and line numbers
5. **Add inline comments**: Use `mcp__github__add_comment_to_pending_review` for each specific piece of feedback on particular lines
6. **Submit the review**: Use `mcp__github__submit_pending_pull_request_review` with event type "COMMENT" (not "REQUEST_CHANGES") to publish all comments as a non-blocking review
When suggesting code changes, use GitHub's suggestion format with ```suggestion blocks so authors can apply changes directly.
secrets:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}