anthropics / anthropics/claude-code-action

Expand pull request action triggers for review mode

未关闭
#418 4 条评论 12 个 reaction 已指派 0 人 在 GitHub 查看
enhancement p3
主要语言
TypeScript
星标
8.9k
派生
2.1k
平均合并
3 天 9 小时
30 天内合并 PR
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 摘要。