anthropics / anthropics/claude-code-action

Expand pull request action triggers for review mode

Offen
#418 4 Kommentare 12 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement p3
Vorherrschende Sprache
TypeScript
Sterne
8.9k
Forks
2.1k
Ø Merge
3 T. 9 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.