Repository navigation
Commit f44eedf
committed
ci(api-review-gate): skip review-bot comment events
The gate re-ran on every pull_request_review event, including the plain
`commented` reviews that CodeRabbit and dosubot post — each rebuilding the
detector for ~30s and getting cancelled by the concurrency group, piling up
runs on the checks tab.
A `commented` review cannot change the gate's verdict (it counts only
APPROVED, dropped by changes_requested/dismissed). Guard the job so review
events re-run it only when the review is approved, changes_requested, or
dismissed. Pushes (pull_request) are unaffected, so the required-check
status invariant is preserved.
Assisted-By: Claude <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 99a28d8 commit f44eedf
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
0 commit comments