Commit 3711bc7
committed
ci: Snapshot API against the PR head, not the merge ref
actions/checkout defaults to the pull_request merge ref (PR + target
branch), so the matrix job was running ApiApprovalTests against a tree
that differed from the PR head. The accept job then committed those
.verified.txt files onto the PR head — which doesn't contain target's
changes — guaranteeing the next run would fail again.
Pin the matrix checkout to pull_request.head.sha so both jobs operate
on the same tree.1 parent 910cb56 commit 3711bc7
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
0 commit comments