feat: 個別サーバー作成用のRakeタスクとサーバー状況確認タスクのメッセージ改善 #19
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Claude Review | |
on: | |
issues: | |
types: [opened] | |
issue_comment: | |
types: [created] | |
pull_request: | |
types: [opened, synchronize] | |
pull_request_review: | |
types: [submitted] | |
pull_request_review_comment: | |
types: [created] | |
jobs: | |
claude-review: | |
if: | | |
(github.event_name == 'issues' && contains(github.event.issue.body, '@claude')) || | |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || | |
(github.event_name == 'pull_request' && contains(github.event.pull_request.body, '@claude')) || | |
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || | |
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) | |
runs-on: ubuntu-latest | |
# 推奨: 最小限の権限のみ付与 | |
permissions: | |
contents: read # Repository 内の権限 | |
actions: read # Actionsログへの権限 | |
issues: write # Issueコメントの権限 (id-token で昇格されるため明確化) | |
pull-requests: write # PR 内コメントの権限 (id-token で昇格されるため明確化) | |
id-token: write # Claude Code Actions の実行に必要 (昇格する権限を持つ) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Claude Review | |
uses: yasslab/claude_review_action@main | |
with: | |
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} |