Commit 6279782
committed
verify-action-build: treat verifier-action refs as trust leaves
The sibling-step recognition added in the previous commit handles the
caller of a verifier (e.g. sbt/setup-sbt using carabiner-dev/actions/
ampel/verify), but the recursive walker still descended into the
verifier action itself and surfaced its bootstrap installer
(carabiner-dev/actions/install/ampel) as an unverified download.
The bootstrap installer cannot itself verify the verifier binary
(chicken-and-egg). Treat the hash-pinned verifier ref as a trust
leaf — same handling as TRUSTED_ORGS — so the walker stops there.
The trust anchor is the hash-pinned commit of the verifier action
itself; ASF's separate allowlist review covers admission of new
verifier refs to the trust set.
Generated-by: Claude Opus 4.7 (1M context) <[email protected]>1 parent 6acddcc commit 6279782
2 files changed
Lines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
485 | 512 | | |
486 | 513 | | |
487 | 514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
44 | 62 | | |
45 | 63 | | |
46 | 64 | | |
| |||
161 | 179 | | |
162 | 180 | | |
163 | 181 | | |
164 | | - | |
| 182 | + | |
165 | 183 | | |
166 | 184 | | |
167 | 185 | | |
| |||
0 commit comments