Commit 7177d9d
committed
ci: pin action versions to immutable commit SHAs (CodeRabbit on PR #14)
Replace @v4 / @v5 tag refs with the matching commit SHAs on
actions/checkout and actions/setup-python. Tags are mutable — a
compromised maintainer can repoint them, silently swapping the code
that runs in our CI runner. SHAs are immutable and remove that
class of supply-chain risk.
Verified each SHA against the live tag on github.com:
gh api repos/actions/checkout/git/ref/tags/v4 \
--jq '.object.sha' # 34e114876b0b11c390a56381ad16ebd13914f8d5
gh api repos/actions/setup-python/git/ref/tags/v5 \
--jq '.object.sha' # a26af69be951a213d495a4c3e4e4022e16d87065
The trailing `# v4` / `# v5` comments preserve the major-version
intent so future bumps stay deliberate. The leading comment block
documents the bump procedure for the next person.1 parent fec00ae commit 7177d9d
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments