Commit 3fd446c
fix: allow unchanged warning count on release/hotfix branches
The warning ratchet required a strict decrease, blocking PR #9311 at an
unchanged count (26968 => 26968). Release/hotfix PRs (matched on head or
base ref) may now merge when the count is unchanged; the dev line still
requires a strict reduction and warning increases still fail.
The branch class is computed once as the lint-job IS_RELEASE_OR_HOTFIX env
and threaded into the comment via a new allow_equal flag in the result
artifact, so the PR comment stays consistent with the gate.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7fa14de commit 3fd446c
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
341 | 345 | | |
342 | 346 | | |
343 | 347 | | |
| 348 | + | |
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| |||
358 | 363 | | |
359 | 364 | | |
360 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
361 | 370 | | |
362 | 371 | | |
363 | 372 | | |
| |||
406 | 415 | | |
407 | 416 | | |
408 | 417 | | |
409 | | - | |
| 418 | + | |
| 419 | + | |
410 | 420 | | |
411 | 421 | | |
412 | 422 | | |
| |||
0 commit comments