Skip to content

Commit 339c9b8

Browse files
AI Agentclaude
andcommitted
[PLA-2303] Report human-review-policy on merge groups too
Trigger on merge_group so a merge queue isn't left waiting for the required status, and write the workflow name unquoted so Prettier accepts it whatever the repo's quote style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e8f944b commit 339c9b8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/human-review-policy-trigger.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
types: [opened, reopened, synchronize, ready_for_review, edited, closed]
88
pull_request_review:
99
types: [submitted, edited, dismissed]
10+
# Repos with a merge queue: the merge group's commit needs the status too.
11+
merge_group:
12+
types: [checks_requested]
1013

1114
permissions: {}
1215

‎.github/workflows/human-review-policy.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: Human review policy
88

99
on:
1010
workflow_run:
11-
workflows: ["Human review policy trigger"]
11+
workflows: [Human review policy trigger]
1212
types: [completed]
1313

1414
jobs:

0 commit comments

Comments
 (0)