anthropics / anthropics/claude-code-action

Expand pull request action triggers for review mode

オープン
#418 コメント 4 件 リアクション 12 件 担当者 0 名 GitHub で見る
enhancement p3
主要言語
TypeScript
スター
8.9k
フォーク
2.1k
平均マージ
3日 9時間
マージ済み PR(30日)
10

説明

Currently review mode only triggers when a pull request is opened, synced, or reopened: https://github.com/anthropics/claude-code-action/blob/15db2b3c79c0681556c056e9bc3f61fd3fc0347d/src/modes/review/index.ts#L42

It would be great if allowed actions were expanded to more natural assignment:
- labeled
- review_requested

review_requested is maybe a bit more questionable since it requires a user, but could work similar to `assigneee_triggerr`.

However the actions already support `label_trigger` but it just gets bypassed with the early check as far as I can tell.

The use case is to assign only certain reviews for claude and only do it when the PR is ready. We can achieve that through a PR comment, but label is more natural and has the advantage of being trackable and filterable.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。