Commit d72fe5a
ci: repair unresolvable actions/cache SHA pin (v4.2.0) (#394)
## Problem
The two reusable workflows pinned `actions/cache` to
`d4373f267a887d77f9eb0683a479ec60b1fe5b2b` (commented `# v4.2.0`), **but
that
SHA does not correspond to any real `actions/cache` tag.** It appears to
be a
corruption of v4.2.2's `d4323d4…`, but is not a valid ref.
Every consumer repo that calls these reusable workflows fails CI with:
```
##[error]Unable to resolve action `actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b`,
unable to find version `d4373f267a887d77f9eb0683a479ec60b1fe5b2b`
```
Observed in e.g. `wokelangiser` → job `scan / Hypatia Neurosymbolic
Analysis`.
## Fix
Restore the **correct immutable `v4.2.0` commit**
`1bd1e32a3bdc45362d1e726936510720a7c30a57`, verified against
`git ls-remote https://github.com/actions/cache refs/tags/v4.2.0`. The
existing
`# v4.2.0` version comment is preserved and is now accurate.
This is a surgical repair of the broken hash that keeps the originally
documented version, rather than a version bump to the moving `v4` tag.
## Files changed
- `.github/workflows/governance-reusable.yml`
- `.github/workflows/hypatia-scan-reusable.yml`
```diff
- uses: actions/cache@d4373f2 # v4.2.0
+ uses: actions/cache@1bd1e32 # v4.2.0
```
## Verification
- `1bd1e32a3bdc45362d1e726936510720a7c30a57` ↔ `refs/tags/v4.2.0`
(upstream `git ls-remote`).
- `git grep d4373f267a887d77f9eb0683a479ec60b1fe5b2b` → no remaining
matches.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K
---
_Generated by [Claude
Code](https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5a93d9d commit d72fe5a
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments