Repository navigation
Commit 17b2206
fix(ci): pin the breadcrumb job's checkout to the validated commit
#133 and #132 crossed. The nightly moved to `workflow_run` in #132, where
every checkout must carry `ref: github.event.workflow_run.head_sha`; the
`breadcrumb` job added by #133 was written against the `push` trigger and
merged without it.
Under `workflow_run` that is not an error. `github.sha` is the default branch
tip at event time, so the job checks out whatever `main` had moved to and
succeeds — running a copy of nightly-breadcrumb.cjs that Validate never saw,
while announcing a nightly built from a different commit. An empty `ref:`
fails the same way, silently, which is why the other two jobs assert HEAD
rather than trusting the checkout.
Cosmetic output does not lower the bar: it is the same fail-open shape, and
it reads as a normal green run. The job now pins the ref and asserts HEAD
against it, matching gate and publish line for line.
Nothing else moves. `breadcrumb` still reaches gate 0 transitively — a skipped
`gate` skips `publish`, which skips this — so it restates none of those four
conditions, and it consumes the publish job's stamped version rather than
re-deriving a short sha.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jwc9FFroR3mTZ4hLiSkkX31 parent f9f05c0 commit 17b2206
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
627 | 633 | | |
628 | 634 | | |
| 635 | + | |
629 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
630 | 656 | | |
631 | 657 | | |
632 | 658 | | |
| |||
0 commit comments