Commit 6a61a3d
ci: pin third-party GitHub Actions to commit SHAs
Pins 11 action reference(s) from mutable tags to the commit SHA they
currently resolve to, keeping the tag as a trailing comment:
uses: actions/checkout@v4
uses: actions/checkout@11d5960 # v4
A git tag is mutable -- whoever controls the action repo can repoint v4 at
any commit, and every workflow picks it up on the next run with no change
on our side. Actions run with GITHUB_TOKEN and access to repo secrets, so
this is the same supply-chain exposure as an unpinned npm dependency, which
is what prompted this sweep. GitHub's own hardening guide recommends SHA
pinning for third-party actions.
Every SHA was verified to be the commit the declared tag currently points
at before committing.
First-party realiotech/* reusable workflows are deliberately left on their
branch: they are inside the trust boundary, and pinning them would require
a PR in every consuming repo for each shared-workflow change.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 591dc13 commit 6a61a3d
2 files changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments