Skip to content

Commit 02f7045

Browse files
committed
Only run AI review when ai-review label is applied
Set review.trigger to label so ecr ci self-gates to PRs labeled ai-review (or ai-review:<agent>), with ai-review:skip still winning. Keeps the workflow's coarse skip-label gate as spin-up avoidance; real policy is now config-driven.
1 parent 68d0e06 commit 02f7045

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.expo-code-review/config.jsonc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
// "trigger": "label" — review only PRs labeled `label` (or `label:<agent>`).
6565
// The `skipLabel` is write-gated (only maintainers can add labels), so a PR
6666
// author can't opt their own PR out.
67-
"review": { "trigger": "all", "label": "ai-review", "skipLabel": "ai-review:skip" },
67+
"review": { "trigger": "label", "label": "ai-review", "skipLabel": "ai-review:skip" },
6868

6969
// A maintainer comment containing this marker skips the CI review.
7070
"breakGlass": { "marker": "/skip-review" },

0 commit comments

Comments
 (0)