Commit 1175fd8
committed
fix(ci): source-pin scanner cache in governance baseline job too
The `validate-hypatia-baseline` job carried the same keyless
`hypatia-scanner-v2-${{ runner.os }}-build` cache + `if [ ! -d ]` /
`if [ ! -x ]` guards as the standalone scan workflow, so baseline
validation ran against whatever scanner was first cached — a stale
ruleset that never picked up rule changes. Apply the same source-pinned
key (resolve hypatia HEAD via git ls-remote, fold the SHA into the key)
so the scanner rebuilds when hypatia main advances.
Note: this makes the baseline job use the *current* scanner; it does not
by itself resolve the separate pre-existing self-scan finding count on
standards (tracked separately).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wGTeLwiBGJ5rETC3QT4Pm1 parent ba973c4 commit 1175fd8
1 file changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
66 | 80 | | |
67 | 81 | | |
68 | 82 | | |
69 | 83 | | |
70 | 84 | | |
71 | 85 | | |
72 | 86 | | |
73 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
74 | 95 | | |
75 | 96 | | |
76 | 97 | | |
| |||
0 commit comments