Skip to content

ci: add the claude-review reusable workflow #2

Closed

Description

@furedea-agent

全 PR を Claude がレビューする reusable workflow claude-review.yml をこのリポジトリに置き,このリポジトリ自身の ci.yml からも呼びます.
P0/P1 の指摘があるとジョブが失敗し,all-green が赤になります.
計画全体は furedea/agent-config#78 の計画コメントにあります.

受け入れ条件

  • .github/workflows/claude-review.yml(on: workflow_call)を追加する.中身は ci: review every pull request with Claude agent-config#79 の claude_review_reusable.yml(ebf913b)を移したもの.モデルは claude-opus-5-5,effort は medium
  • シークレットは workflow_call の secrets で claude_code_oauth_token として受け取る.コメントは GITHUB_TOKEN で書く.allowed_bots: furedea-agent
  • このリポジトリの ci.yml に claude-review ジョブ(uses: ./.github/workflows/claude-review.yml)を加え,all-green の needs に含める.PR のときだけ動き,フォークからの PR では動かない
  • ls-lint を通す(claude-review.yml が .yml の規則に合わない場合は .github/workflows だけ例外にする)
  • この PR 自身で,レビューが走ること,P0/P1 で all-green が赤になることを確かめる
  • renovate(github>furedea/renovate-config)が,ほかのリポジトリの uses: furedea/reusable-workflows/...@SHA を更新対象にするかを確かめ,結果を PR に書く
  • README にこのリポジトリの目的と呼び出し方を書く

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions