fix: support labeled action for pull_request events in track_progress (#1586)

Adds "labeled" to the valid pull_request actions for track_progress,
mirroring the existing support for issue events. Previously, adding
a label to a PR (e.g. to trigger a label-driven Claude review) would
fail validation even though the same pattern works for issues.

Fixes #1585
This commit is contained in:
Takaki Sato
2026-08-07 07:55:20 -07:00
committed by GitHub
parent 0a5f191964
commit d573b167d3
3 changed files with 16 additions and 1 deletions
+1
View File
@@ -103,6 +103,7 @@ function validateTrackProgressEvent(context: GitHubContext): void {
"synchronize",
"ready_for_review",
"reopened",
"labeled",
];
if (!validActions.includes(context.eventAction)) {
throw new Error(