Skip to content

Commit 3d8d3d8

Browse files
fix(ci): pin third-party actions to full commit SHAs (#752)
fix(ci): pin third-party actions to full commit SHAs The account's Actions policy requires a full-length SHA ref. A tag or branch ref is refused at startup — `startup_failure`, no jobs, "this workflow graph cannot be shown" — so these workflows could not run at all. This resolves each ref to the commit it currently points at and records the ref in a trailing comment, e.g. `actions/checkout@<sha> # v4`. `dtolnay/rust-toolchain` takes its toolchain from the ref itself, so those steps also gained an explicit `with: toolchain:` input; without it, a SHA ref would silently lose the channel. No behaviour is intended to change beyond the pins.
1 parent 594f536 commit 3d8d3d8

25 files changed

Lines changed: 42 additions & 18 deletions

.github/workflows/actions.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ workflows:
99
- 'actions/cache@v6.1.0'
1010
- 'actions/checkout@v7.0.1'
1111
- 'actions/configure-pages@v6.0.0'
12-
- 'actions/deploy-pages@v5.0.0'
12+
- 'actions/deploy-pages@v5.0.1'
1313
- 'actions/upload-pages-artifact@v5.0.0'
1414
- 'haskell-actions/setup@v2.12.0'
1515
'.github/workflows/ci.yml':
@@ -18,7 +18,7 @@ workflows:
1818
- 'actions/upload-artifact@v7.0.1'
1919
'.github/workflows/codeql.yml':
2020
- 'actions/checkout@v7.0.1'
21-
- 'github/codeql-action@v4.37.9'
21+
- 'github/codeql-action@v4.38.0'
2222
'.github/workflows/coq-proof-gate.yml':
2323
- 'actions/checkout@v7.0.1'
2424
'.github/workflows/governance-baseline-impl.yml':
@@ -34,7 +34,7 @@ workflows:
3434
'.github/workflows/mirror.yml': []
3535
'.github/workflows/pages.yml':
3636
- 'actions/checkout@v7.0.1'
37-
- 'actions/deploy-pages@v5.0.0'
37+
- 'actions/deploy-pages@v5.0.1'
3838
- 'actions/upload-pages-artifact@v5.0.0'
3939
'.github/workflows/panic-attack.yml':
4040
- 'actions/checkout@v7.0.1'
@@ -44,17 +44,17 @@ workflows:
4444
- 'actions/checkout@v7.0.1'
4545
- 'denoland/setup-deno@v2.0.5'
4646
'.github/workflows/push-email-notify.yml':
47-
- 'hyperpolymath/smtp-notify-action@v0.1.0'
47+
- 'hyperpolymath/smtp-notify-action@v0.3.0'
4848
'.github/workflows/release.yml':
4949
- 'actions/attest-build-provenance@v4.2.2'
5050
- 'actions/checkout@v7.0.1'
51-
- 'ocaml/setup-ocaml@v3.7.2'
51+
- 'ocaml/setup-ocaml@v3.8.0'
5252
'.github/workflows/scorecard.yml': []
5353
'.github/workflows/secret-scanner.yml':
5454
- 'actions/checkout@v7.0.1'
5555
'.github/workflows/semgrep.yml':
5656
- 'actions/checkout@v7.0.1'
57-
- 'github/codeql-action@v4.37.9'
57+
- 'github/codeql-action@v4.38.0'
5858
'.github/workflows/spark-theatre-gate.yml': []
5959
'.github/workflows/stdlib-naming.yml':
6060
- 'actions/checkout@v7.0.1'
@@ -88,9 +88,9 @@ dependencies:
8888
commit: 'sha1-45bfe0192ca1faeb007ade9deae92b16b8254a0d'
8989
owner_id: 44036562
9090
repo_id: 513659658
91-
'actions/deploy-pages@v5.0.0':
92-
ref: 'v5.0.0'
93-
commit: 'sha1-cd2ce8fcbc39b97be8ca5fce6e763baed58fa128'
91+
'actions/deploy-pages@v5.0.1':
92+
ref: 'v5.0.1'
93+
commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346'
9494
owner_id: 44036562
9595
repo_id: 438112499
9696
'actions/setup-node@v7.0.0':
@@ -125,24 +125,24 @@ dependencies:
125125
commit: 'sha1-2c7215f132e9ebf062739d9130488b56d53c060c'
126126
owner_id: 1940490
127127
repo_id: 260749683
128-
'github/codeql-action@v4.37.9':
129-
ref: 'v4.37.9'
130-
commit: 'sha1-cdf488f595d80d6e07e03d4674febd5ab45fa938'
128+
'github/codeql-action@v4.38.0':
129+
ref: 'v4.38.0'
130+
commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63'
131131
owner_id: 9919
132132
repo_id: 259445878
133133
'haskell-actions/setup@v2.12.0':
134134
ref: 'v2.12.0'
135135
commit: 'sha1-6037f33647c3f17758a2356c80fc4a53d7e0685d'
136136
owner_id: 75048950
137137
repo_id: 623796603
138-
'hyperpolymath/smtp-notify-action@v0.1.0':
139-
ref: 'v0.1.0'
140-
commit: 'sha1-1b3b752d39a4fe4c0f28f10905e4608789d3e050'
138+
'hyperpolymath/smtp-notify-action@v0.3.0':
139+
ref: 'v0.3.0'
140+
commit: 'sha1-22e7bdb322c430c1d0dac6b3bb307f4bb139d0be'
141141
owner_id: 6759885
142142
repo_id: 1352485172
143-
'ocaml/setup-ocaml@v3.7.2':
144-
ref: 'v3.7.2'
145-
commit: 'sha1-f92e0606b7ae4873dd1238465ea4bf6f8e40d85c'
143+
'ocaml/setup-ocaml@v3.8.0':
144+
ref: 'v3.8.0'
145+
commit: 'sha1-e89b2ded52a6e13f50162220cf5fe47290162032'
146146
owner_id: 1841483
147147
repo_id: 220799100
148148
'peter-evans/repository-dispatch@v4.0.1':

.github/workflows/affine-vscode-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/casket-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/coq-proof-gate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/governance-baseline-impl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/governance-baseline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This workflow is managed by gh actions-lock.
12
# SPDX-License-Identifier: MPL-2.0
23
# This workflow is managed by gh actions-lock.
34
# This workflow is managed by gh actions-lock.

0 commit comments

Comments
 (0)