Skip to content

Commit 8faaa23

Browse files
fix(ci): reconcile the workflows with actions.lock (gh-actions-lock) (#125)
fix(ci): reconcile the workflows with actions.lock (gh-actions-lock v0.1.6) `actions.lock` is authoritative: the workflows carry readable refs and the lock records the commit each ref resolves to, which is what actually runs. Refs that stop matching the manifest make the whole repository unstartable — `startup_failure`, "Invalid lockfile". Regenerated with the official extension (`github/gh-actions-lock`). The hand-pinned SHA refs are reverted to their readable form here precisely because the lockfile, not the workflow, is what pins them.
1 parent 46e8eac commit 8faaa23

19 files changed

Lines changed: 57 additions & 39 deletions

.github/workflows/actions.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ workflows:
1616
- 'haskell-actions/setup@v2.12.0'
1717
'.github/workflows/cflite_batch.yml':
1818
- 'actions/checkout@v7.0.1'
19-
- 'github/codeql-action@v4.37.9'
19+
- 'github/codeql-action@v4.38.0'
2020
- 'google/clusterfuzzlite@v1'
2121
'.github/workflows/cflite_pr.yml':
2222
- 'actions/checkout@v7.0.1'
23-
- 'github/codeql-action@v4.37.9'
23+
- 'github/codeql-action@v4.38.0'
2424
- 'google/clusterfuzzlite@v1'
2525
'.github/workflows/codeql.yml':
2626
- 'actions/checkout@v7.0.1'
27-
- 'github/codeql-action@v4.37.9'
27+
- 'github/codeql-action@v4.38.0'
2828
'.github/workflows/dogfood-gate.yml':
2929
- 'actions/checkout@v7.0.1'
3030
'.github/workflows/governance.yml': []
@@ -35,7 +35,7 @@ workflows:
3535
'.github/workflows/labels.yml': []
3636
'.github/workflows/mirror.yml': []
3737
'.github/workflows/push-email-notify.yml':
38-
- 'hyperpolymath/smtp-notify-action@v0.2.0'
38+
- 'hyperpolymath/smtp-notify-action@v0.3.0'
3939
'.github/workflows/rust-ci.yml': []
4040
'.github/workflows/scorecard.yml': []
4141
'.github/workflows/secret-scanner.yml': []
@@ -74,9 +74,9 @@ dependencies:
7474
repo_id: 496012378
7575
uses:
7676
- 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
77-
'github/codeql-action@v4.37.9':
78-
ref: 'v4.37.9'
79-
commit: 'sha1-cdf488f595d80d6e07e03d4674febd5ab45fa938'
77+
'github/codeql-action@v4.38.0':
78+
ref: 'v4.38.0'
79+
commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63'
8080
owner_id: 9919
8181
repo_id: 259445878
8282
'google/clusterfuzzlite@v1':
@@ -89,9 +89,9 @@ dependencies:
8989
commit: 'sha1-6037f33647c3f17758a2356c80fc4a53d7e0685d'
9090
owner_id: 75048950
9191
repo_id: 623796603
92-
'hyperpolymath/smtp-notify-action@v0.2.0':
93-
ref: 'v0.2.0'
94-
commit: 'sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7'
92+
'hyperpolymath/smtp-notify-action@v0.3.0':
93+
ref: 'v0.3.0'
94+
commit: 'sha1-22e7bdb322c430c1d0dac6b3bb307f4bb139d0be'
9595
owner_id: 6759885
9696
repo_id: 1352485172
9797
'peter-evans/repository-dispatch@v4.0.1':

.github/workflows/boj-build.yml

Lines changed: 2 additions & 1 deletion
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.
@@ -12,7 +13,7 @@ jobs:
1213
timeout-minutes: 15
1314
steps:
1415
- name: Checkout
15-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
16+
uses: actions/checkout@v7.0.1
1617
- name: Trigger BoJ Server (Casket/ssg-mcp)
1718
run: |
1819
# Send a secure trigger to boj-server to build this repository

.github/workflows/cargo-audit.yml

Lines changed: 3 additions & 2 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.
@@ -21,7 +22,7 @@ jobs:
2122
runs-on: ubuntu-latest
2223
timeout-minutes: 15
2324
steps:
24-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25+
- uses: actions/checkout@v7.0.1
2526
- name: Install cargo-audit
2627
run: cargo install cargo-audit --locked
2728
- name: Run cargo audit
@@ -37,7 +38,7 @@ jobs:
3738
permissions:
3839
issues: write
3940
steps:
40-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
41+
- uses: actions/checkout@v7.0.1
4142
- name: Create vulnerability issue
4243
env:
4344
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/casket-pages.yml

Lines changed: 8 additions & 7 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.
@@ -19,19 +20,19 @@ jobs:
1920
timeout-minutes: 15
2021
steps:
2122
- name: Checkout
22-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23+
uses: actions/checkout@v7.0.1
2324
- name: Checkout casket-ssg
24-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25+
uses: actions/checkout@v7.0.1
2526
with:
2627
repository: hyperpolymath/casket-ssg
2728
path: .casket-ssg
2829
- name: Setup GHCup
29-
uses: haskell-actions/setup@6037f33647c3f17758a2356c80fc4a53d7e0685d # v2.12.0
30+
uses: haskell-actions/setup@v2.12.0
3031
with:
3132
ghc-version: '9.8.2'
3233
cabal-version: '3.10'
3334
- name: Cache Cabal
34-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
35+
uses: actions/cache@v6.1.0
3536
with:
3637
path: |
3738
~/.cabal/packages
@@ -89,9 +90,9 @@ jobs:
8990
cd .casket-ssg && cabal run casket-ssg -- build ../.site-src ../_site
9091
touch ../_site/.nojekyll
9192
- name: Setup Pages
92-
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
93+
uses: actions/configure-pages@v6.0.0
9394
- name: Upload artifact
94-
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
95+
uses: actions/upload-pages-artifact@v5.0.0
9596
with:
9697
path: '_site'
9798
deploy:
@@ -104,4 +105,4 @@ jobs:
104105
steps:
105106
- name: Deploy to GitHub Pages
106107
id: deployment
107-
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
108+
uses: actions/deploy-pages@v5.0.1

.github/workflows/cflite_batch.yml

Lines changed: 5 additions & 4 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.
@@ -16,19 +17,19 @@ jobs:
1617
matrix:
1718
sanitizer: [address, undefined]
1819
steps:
19-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20-
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
20+
- uses: actions/checkout@v7.0.1
21+
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1
2122
with:
2223
sanitizer: ${{ matrix.sanitizer }}
2324
language: rust
24-
- uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
25+
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1
2526
with:
2627
github-token: ${{ secrets.GITHUB_TOKEN }}
2728
fuzz-seconds: 1800
2829
sanitizer: ${{ matrix.sanitizer }}
2930
mode: batch
3031
output-sarif: true
31-
- uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
32+
- uses: github/codeql-action/upload-sarif@v4.38.0
3233
if: always()
3334
with:
3435
sarif_file: vulnerabilities.sarif

.github/workflows/cflite_pr.yml

Lines changed: 5 additions & 4 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.
@@ -17,19 +18,19 @@ jobs:
1718
matrix:
1819
sanitizer: [address, undefined]
1920
steps:
20-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21-
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
21+
- uses: actions/checkout@v7.0.1
22+
- uses: google/clusterfuzzlite/actions/build_fuzzers@v1
2223
with:
2324
sanitizer: ${{ matrix.sanitizer }}
2425
language: rust
25-
- uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
26+
- uses: google/clusterfuzzlite/actions/run_fuzzers@v1
2627
with:
2728
github-token: ${{ secrets.GITHUB_TOKEN }}
2829
fuzz-seconds: 300
2930
sanitizer: ${{ matrix.sanitizer }}
3031
mode: code-change
3132
output-sarif: true
32-
- uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
33+
- uses: github/codeql-action/upload-sarif@v4.38.0
3334
if: always()
3435
with:
3536
sarif_file: vulnerabilities.sarif

.github/workflows/codeql.yml

Lines changed: 4 additions & 3 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.
@@ -36,13 +37,13 @@ jobs:
3637
build-mode: none
3738
steps:
3839
- name: Checkout
39-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
40+
uses: actions/checkout@v7.0.1
4041
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
42+
uses: github/codeql-action/init@v4.38.0
4243
with:
4344
languages: ${{ matrix.language }}
4445
build-mode: ${{ matrix.build-mode }}
4546
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
47+
uses: github/codeql-action/analyze@v4.38.0
4748
with:
4849
category: "/language:${{ matrix.language }}"

.github/workflows/dogfood-gate.yml

Lines changed: 6 additions & 5 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.
@@ -24,7 +25,7 @@ jobs:
2425
timeout-minutes: 15
2526
steps:
2627
- name: Checkout repository
27-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
28+
uses: actions/checkout@v7.0.1
2829
- name: Check for A2ML files
2930
id: detect
3031
run: |
@@ -61,7 +62,7 @@ jobs:
6162
timeout-minutes: 15
6263
steps:
6364
- name: Checkout repository
64-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
65+
uses: actions/checkout@v7.0.1
6566
- name: Check for K9 files
6667
id: detect
6768
run: |
@@ -103,7 +104,7 @@ jobs:
103104
timeout-minutes: 15
104105
steps:
105106
- name: Checkout repository
106-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
107+
uses: actions/checkout@v7.0.1
107108
- name: Scan for invisible characters
108109
id: lint
109110
run: |
@@ -164,7 +165,7 @@ jobs:
164165
timeout-minutes: 15
165166
steps:
166167
- name: Checkout repository
167-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
168+
uses: actions/checkout@v7.0.1
168169
- name: Check for Groove manifest
169170
id: groove
170171
run: |
@@ -221,7 +222,7 @@ jobs:
221222
if: always()
222223
steps:
223224
- name: Checkout repository
224-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
225+
uses: actions/checkout@v7.0.1
225226
- name: Generate dogfooding scorecard
226227
run: |
227228
SCORE=0

.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)