Repository navigation
Commit 11eae42
authored
ci: pin that the repository's own workflow files pass its admission rules (#624)
The compare endpoint returns every changed file (up to 300) on each request
and paginates only the commits, so the admission loop that asked for page 2
got `files: null` and refused any pull request with 100 or more files before
a pod was requested. Both the admit job and the hosted result job now make one
request to the base...head compare and fail closed when `files` is missing or
holds 300 rows, which is GitHub's cap. Row, filename and rename checks are
unchanged. The preflight pin requires the new reader and refuses the paging
loop, and the tests run the real step text against a fake gh.
docs/ci.md replaces the sentence beginning "Admission checks the live PR, then
reads the payload-bound compare list with" with one that states the single read
and the 300-file refusal. The page keeps its line count.
Admission refused main's own release.yml (the matrix runner under its fetched
path) for every pull request, and no preflight stage ran the admission rules over
the real workflow set. A new row copies the real .github workflows, actions and
actionlint config into a temporary directory and expects no findings, and a
mutation row restores the pre-fix literal-runner comparison in a copy of the
checker source and expects exactly the release.yml finding.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent a991b4e commit 11eae42
4 files changed
Lines changed: 425 additions & 77 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | 124 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
155 | 150 | | |
156 | 151 | | |
157 | 152 | | |
| |||
444 | 439 | | |
445 | 440 | | |
446 | 441 | | |
447 | | - | |
448 | 442 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
480 | 469 | | |
481 | 470 | | |
482 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1518 | 1518 | | |
1519 | 1519 | | |
1520 | 1520 | | |
1521 | | - | |
1522 | | - | |
| 1521 | + | |
| 1522 | + | |
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1713 | 1724 | | |
| 1725 | + | |
1714 | 1726 | | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
1715 | 1730 | | |
1716 | 1731 | | |
1717 | 1732 | | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | 1733 | | |
1722 | | - | |
| 1734 | + | |
1723 | 1735 | | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1724 | 1740 | | |
1725 | 1741 | | |
1726 | 1742 | | |
| |||
0 commit comments