Skip to content

Commit 5c5dddb

Browse files
hyperpolymathclaudecoderabbitai[bot]CodeRabbit
authored
fix(ci): pin scan-and-report's rust-toolchain to current v1 and repair actions.lock (#218)
## Problem `scan-and-report.yml` is the reusable workflow that callers such as hyperpolymath/echidna's `security-scan.yml` use. It pins `dtolnay/rust-toolchain@02cb101e`, which was `v1` when pinned. `v1` now points at `683b588c`, and no tag names `02cb101e`. A caller must lock this reusable's actions. The estate repair chain (`close-lock.sh`) records an action's SHA only through a tag, so callers could not lock this one, and echidna's `security-scan.yml` dies at startup. This repo's own `actions.lock` had also drifted: - The workflows already use `checkout@v7.0.1`, `cache@v6.1.0` and similar versions, but the lock held older ones. - There were no `hyperpolymath/standards` records. On `main`, `boj-build`, `casket-pages`, `chapel-ci` and `dogfood-gate` end in `startup_failure`. ## Change 1. **826e9e1:** `scan-and-report.yml` moves to `dtolnay/rust-toolchain@683b588c # v1`, the commit `v1` points at today. 2. **f93d082:** `actions.lock` is regenerated with the estate repair chain: `relock-sha-keys`, `complete-job-refs`, `close-lock`, then `prune-stale`, all at standards `333b06a0`. The lock was not edited by hand. - The chain ran in CI with a real token. `check-lock-sync` passed and the governance gate at `333b06a0` returned 0 ("Immutable direct and transitive lockfile coverage verified"). - The committed file matches the run's `LOCK-SHA256` of `8bacccdbeedc6b8e4b799ecbfe6246e7ab09472a608cd729ed5bdcc383186c22`. The lock stays at format `v0.0.2`, because the repair chain doesn't rewrite the version. ## Follow-up Once this merges, hyperpolymath/echidna re-pins `security-scan.yml` to the new commit and relocks. --- _Generated by [Claude Code](https://claude.ai/code/session_019a95kk88TZ1iegsBK3kox3)_ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
1 parent 8c2f198 commit 5c5dddb

39 files changed

Lines changed: 730 additions & 435 deletions

‎.github/workflows/actions.lock‎

Lines changed: 156 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
version: 'v0.0.3'
55
workflows:
66
'.github/workflows/boj-build.yml':
7-
- 'actions/checkout@v4.1.7'
7+
- 'actions/checkout@v7.0.1'
88
'.github/workflows/bridge-gate.yml':
9-
- 'actions/checkout@v4.3.1'
9+
- 'actions/checkout@v7.0.1'
1010
'.github/workflows/cargo-audit.yml':
11-
- 'actions/checkout@v5.0.1'
11+
- 'actions/checkout@v7.0.1'
1212
- 'dtolnay/rust-toolchain@v1'
1313
'.github/workflows/casket-pages.yml':
14-
- 'actions/cache@v4.3.0'
15-
- 'actions/checkout@v4.1.1'
16-
- 'actions/configure-pages@v5.0.0'
17-
- 'actions/deploy-pages@v4.0.5'
18-
- 'actions/upload-pages-artifact@v3.0.1'
19-
- 'haskell-actions/setup@v2.7.5'
14+
- 'actions/cache@v6.1.0'
15+
- 'actions/checkout@v7.0.1'
16+
- 'actions/configure-pages@v6.0.0'
17+
- 'actions/deploy-pages@v5.0.1'
18+
- 'actions/upload-pages-artifact@v5.0.0'
19+
- 'haskell-actions/setup@v2.12.1'
2020
'.github/workflows/chapel-ci.yml':
2121
- 'actions/cache@v6.1.0'
2222
- 'actions/checkout@v7.0.1'
@@ -27,49 +27,61 @@ workflows:
2727
- 'actions/checkout@v7.0.1'
2828
- 'github/codeql-action@v4.39.0'
2929
'.github/workflows/coverage.yml':
30-
- 'actions/checkout@v5.0.1'
30+
- 'actions/checkout@v7.0.1'
3131
- 'dtolnay/rust-toolchain@v1'
3232
'.github/workflows/dependency-review.yml':
33-
- 'actions/checkout@v5.0.1'
34-
- 'actions/dependency-review-action@v4.3.4'
33+
- 'actions/checkout@v7.0.1'
34+
- 'actions/dependency-review-action@v5.0.0'
3535
'.github/workflows/dogfood-gate.yml':
36-
- 'actions/checkout@v4.3.1'
36+
- 'actions/checkout@v7.0.1'
3737
'.github/workflows/e2e.yml':
3838
- 'actions/checkout@v7.0.1'
3939
- 'actions/upload-artifact@v7.0.2'
4040
- 'dtolnay/rust-toolchain@v1'
4141
- 'swatinem/rust-cache@v2.9.2'
42-
'.github/workflows/governance.yml': []
43-
'.github/workflows/hypatia-scan.yml': []
42+
'.github/workflows/governance.yml':
43+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
44+
'.github/workflows/hypatia-scan.yml':
45+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
4446
'.github/workflows/instant-sync.yml':
4547
- 'peter-evans/repository-dispatch@v4.0.1'
4648
'.github/workflows/label-triage.yml': []
4749
'.github/workflows/labels.yml': []
48-
'.github/workflows/mirror.yml': []
50+
'.github/workflows/mirror.yml':
51+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
4952
'.github/workflows/pages.yml':
50-
- 'actions/checkout@v4.4.0'
51-
- 'actions/deploy-pages@v4.0.5'
52-
- 'actions/upload-pages-artifact@v3.0.1'
53+
- 'actions/checkout@v7.0.1'
54+
- 'actions/deploy-pages@v5.0.1'
55+
- 'actions/upload-pages-artifact@v5.0.0'
5356
'.github/workflows/push-email-notify.yml':
54-
- 'hyperpolymath/smtp-notify-action@v0.2.0'
57+
- 'hyperpolymath/smtp-notify-action@v0.5.0'
5558
'.github/workflows/release.yml':
5659
- 'actions/checkout@v7.0.1'
5760
- 'actions/download-artifact@v8.0.2'
5861
- 'actions/upload-artifact@v7.0.2'
5962
- 'dtolnay/rust-toolchain@v1'
63+
- 'slsa-framework/slsa-github-generator@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a'
6064
- 'softprops/action-gh-release@v3.0.3'
6165
- 'swatinem/rust-cache@v2.9.2'
62-
'.github/workflows/rust-ci.yml': []
66+
'.github/workflows/rust-ci.yml':
67+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
6368
'.github/workflows/scan-and-report.yml':
69+
- 'Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
6470
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
6571
- 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8'
66-
- 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
67-
'.github/workflows/scorecard.yml': []
68-
'.github/workflows/secret-scanner.yml': []
72+
'.github/workflows/scorecard.yml':
73+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
74+
'.github/workflows/secret-scanner.yml':
75+
- 'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7'
6976
dependencies:
70-
'actions/cache@v4.3.0':
71-
ref: 'v4.3.0'
72-
commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830'
77+
'Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6':
78+
ref: 'v2.9.2'
79+
commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
80+
owner_id: 580492
81+
repo_id: 298565987
82+
'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
83+
ref: 'v6.1.0'
84+
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
7385
owner_id: 44036562
7486
repo_id: 215566462
7587
'actions/cache@v6.1.0':
@@ -82,110 +94,173 @@ dependencies:
8294
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
8395
owner_id: 44036562
8496
repo_id: 197814629
85-
'actions/checkout@v4.1.1':
86-
ref: 'v4.1.1'
87-
commit: 'sha1-b4ffde65f46336ab88eb53be808477a3936bae11'
88-
owner_id: 44036562
89-
repo_id: 197814629
90-
'actions/checkout@v4.1.7':
91-
ref: 'v4.1.7'
92-
commit: 'sha1-692973e3d937129bcbf40652eb9f2f61becf3332'
93-
owner_id: 44036562
94-
repo_id: 197814629
95-
'actions/checkout@v4.3.1':
96-
ref: 'v4.3.1'
97-
commit: 'sha1-34e114876b0b11c390a56381ad16ebd13914f8d5'
98-
owner_id: 44036562
99-
repo_id: 197814629
100-
'actions/checkout@v4.4.0':
101-
ref: 'v4.4.0'
102-
commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
103-
owner_id: 44036562
104-
repo_id: 197814629
105-
'actions/checkout@v5.0.1':
106-
ref: 'v5.0.1'
107-
commit: 'sha1-93cb6efe18208431cddfb8368fd83d5badbf9bfd'
108-
owner_id: 44036562
109-
repo_id: 197814629
11097
'actions/checkout@v7.0.1':
11198
ref: 'v7.0.1'
11299
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
113100
owner_id: 44036562
114101
repo_id: 197814629
115-
'actions/configure-pages@v5.0.0':
116-
ref: 'v5.0.0'
117-
commit: 'sha1-983d7736d9b0ae728b81ab479565c72886d7745b'
102+
'actions/configure-pages@v6.0.0':
103+
ref: 'v6.0.0'
104+
commit: 'sha1-45bfe0192ca1faeb007ade9deae92b16b8254a0d'
118105
owner_id: 44036562
119106
repo_id: 513659658
120-
'actions/dependency-review-action@v4.3.4':
121-
ref: 'v4.3.4'
122-
commit: 'sha1-5a2ce3f5b92ee19cbb1541a4984c76d921601d7c'
107+
'actions/dependency-review-action@v5.0.0':
108+
ref: 'v5.0.0'
109+
commit: 'sha1-a1d282b36b6f3519aa1f3fc636f609c47dddb294'
123110
owner_id: 44036562
124111
repo_id: 476372928
125-
'actions/deploy-pages@v4.0.5':
126-
ref: 'v4.0.5'
127-
commit: 'sha1-d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e'
112+
'actions/deploy-pages@v5.0.1':
113+
ref: 'v5.0.1'
114+
commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346'
128115
owner_id: 44036562
129116
repo_id: 438112499
130117
'actions/download-artifact@v8.0.2':
131118
ref: 'v8.0.2'
132119
commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
133120
owner_id: 44036562
134121
repo_id: 192626254
135-
'actions/upload-artifact@v4':
136-
ref: 'v4'
137-
commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
122+
'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08':
123+
ref: 'v4.6.0'
124+
commit: 'sha1-65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08'
125+
owner_id: 44036562
126+
repo_id: 192625955
127+
'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f':
128+
ref: 'v7.0.0'
129+
commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
130+
owner_id: 44036562
131+
repo_id: 192625955
132+
'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9':
133+
ref: 'v7.0.2'
134+
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
138135
owner_id: 44036562
139136
repo_id: 192625955
140137
'actions/upload-artifact@v7.0.2':
141138
ref: 'v7.0.2'
142139
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
143140
owner_id: 44036562
144141
repo_id: 192625955
145-
'actions/upload-pages-artifact@v3.0.1':
146-
ref: 'v3.0.1'
147-
commit: 'sha1-56afc609e74202658d3ffba0e8f6dda462b719fa'
142+
'actions/upload-pages-artifact@v5.0.0':
143+
ref: 'v5.0.0'
144+
commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9'
148145
owner_id: 44036562
149146
repo_id: 496012378
150147
uses:
151-
- 'actions/upload-artifact@v4'
148+
- 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
149+
'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed':
150+
ref: 'v2.0.5'
151+
commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'
152+
owner_id: 42048915
153+
repo_id: 356423100
152154
'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8':
153155
ref: 'v1'
154156
commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8'
155157
owner_id: 1940490
156158
repo_id: 260749683
159+
'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f':
160+
ref: 'v1'
161+
commit: 'sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f'
162+
owner_id: 1940490
163+
repo_id: 260749683
157164
'dtolnay/rust-toolchain@v1':
158165
ref: 'v1'
159-
commit: 'sha1-02cb101ec7c40f2c49e1d9714d64511d8e1b74de'
166+
commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8'
160167
owner_id: 1940490
161168
repo_id: 260749683
169+
'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393':
170+
ref: 'v3.0.0'
171+
commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393'
172+
owner_id: 26415196
173+
repo_id: 297874902
174+
'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124':
175+
ref: 'v1.24.1'
176+
commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124'
177+
owner_id: 47606891
178+
repo_id: 331103973
179+
'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63':
180+
ref: 'v4.38.0'
181+
commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63'
182+
owner_id: 9919
183+
repo_id: 259445878
162184
'github/codeql-action@v4.39.0':
163185
ref: 'v4.39.0'
164186
commit: 'sha1-6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee'
165187
owner_id: 9919
166188
repo_id: 259445878
167-
'haskell-actions/setup@v2.7.5':
168-
ref: 'v2.7.5'
169-
commit: 'sha1-ec49483bfc012387b227434aba94f59a6ecd0900'
189+
'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406':
190+
ref: 'v2.2.1'
191+
commit: 'sha1-abea47f85e598557f500fa1fd2ab7464fcb39406'
192+
owner_id: 1006268
193+
repo_id: 212984112
194+
'haskell-actions/setup@v2.12.1':
195+
ref: 'v2.12.1'
196+
commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d'
170197
owner_id: 75048950
171198
repo_id: 623796603
172-
'hyperpolymath/smtp-notify-action@v0.2.0':
173-
ref: 'v0.2.0'
174-
commit: 'sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7'
199+
'hyperpolymath/smtp-notify-action@v0.5.0':
200+
ref: 'v0.5.0'
201+
commit: 'sha1-c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef'
175202
owner_id: 6759885
176203
repo_id: 1352485172
204+
'hyperpolymath/standards@333b06a01db1874ffedb2de1bfabb195640927c7':
205+
ref: '333b06a01db1874ffedb2de1bfabb195640927c7'
206+
commit: 'sha1-333b06a01db1874ffedb2de1bfabb195640927c7'
207+
owner_id: 6759885
208+
repo_id: 1116521501
209+
uses:
210+
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
211+
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
212+
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
213+
- 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'
214+
- 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8'
215+
- 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393'
216+
- 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124'
217+
- 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63'
218+
- 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406'
219+
- 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e'
220+
- 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'
221+
- 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
222+
- 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555'
223+
'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e':
224+
ref: 'v2.5.0'
225+
commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e'
226+
owner_id: 67707773
227+
repo_id: 421101922
228+
'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6':
229+
ref: 'v2.2.0'
230+
commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6'
231+
owner_id: 108928776
232+
repo_id: 512644635
177233
'peter-evans/repository-dispatch@v4.0.1':
178234
ref: 'v4.0.1'
179235
commit: 'sha1-28959ce8df70de7be546dd1250a005dd32156697'
180236
owner_id: 18365890
181237
repo_id: 220359305
238+
'slsa-framework/slsa-github-generator@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a':
239+
ref: 'v2.1.0'
240+
commit: 'sha1-f7dd8c54c2067bafc12ca7a55595d5ee9b75204a'
241+
owner_id: 80431187
242+
repo_id: 475074978
243+
uses:
244+
- 'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08'
245+
- 'slsa-framework/slsa-github-generator@v2.1.0'
246+
- 'softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda'
247+
'slsa-framework/slsa-github-generator@v2.1.0':
248+
ref: 'v2.1.0'
249+
commit: 'sha1-f7dd8c54c2067bafc12ca7a55595d5ee9b75204a'
250+
owner_id: 80431187
251+
repo_id: 475074978
252+
'softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda':
253+
ref: 'v2.2.1'
254+
commit: 'sha1-c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda'
255+
owner_id: 2242
256+
repo_id: 204253808
182257
'softprops/action-gh-release@v3.0.3':
183258
ref: 'v3.0.3'
184259
commit: 'sha1-efb35369e0ad2afab669f228072c1b0d510eae64'
185260
owner_id: 2242
186261
repo_id: 204253808
187262
'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6':
188-
ref: 'v2'
263+
ref: 'v2.9.2'
189264
commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
190265
owner_id: 580492
191266
repo_id: 298565987
@@ -194,3 +269,8 @@ dependencies:
194269
commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
195270
owner_id: 580492
196271
repo_id: 298565987
272+
'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555':
273+
ref: 'v0.10.0'
274+
commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555'
275+
owner_id: 135788
276+
repo_id: 208510314

‎.github/workflows/cargo-audit.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626

2727
- name: Install Rust toolchain
2828
uses: dtolnay/rust-toolchain@v1
29-
with:
30-
toolchain: v1
3129
with:
3230
toolchain: stable
3331

‎.github/workflows/chapel-ci.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224
- uses: actions/checkout@v7.0.1
225225
- uses: dtolnay/rust-toolchain@v1
226226
with:
227-
toolchain: v1
227+
toolchain: stable
228228
- uses: actions/cache@v6.1.0
229229
with:
230230
path: |
@@ -246,6 +246,8 @@ jobs:
246246
steps:
247247
- uses: actions/checkout@v7.0.1
248248
- uses: dtolnay/rust-toolchain@v1
249+
with:
250+
toolchain: stable
249251
- uses: actions/cache@v6.1.0
250252
with:
251253
path: |

‎.github/workflows/coverage.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424

2525
- name: Install Rust toolchain
2626
uses: dtolnay/rust-toolchain@v1
27-
with:
28-
toolchain: v1
2927
with:
3028
toolchain: stable
3129
components: llvm-tools-preview

0 commit comments

Comments
 (0)