Skip to content

Commit 1cfd9d0

Browse files
chore(ci): SPDX headers on line 1 and Actions lockfile minted (#68)
Two estate gates, one change. **SPDX** — the linter checks `head -1` only, so workflows carrying their identifier below a managed-by comment report as missing one. Each file's **own** identifier is moved to line 1; nothing is imposed (repos here are variously MPL-2.0, PMPL-1.0-or-later, AGPL-3.0-or-later). Licences in this repo: `MPL-2.0`. **Lockfile (minted)** — `gh actions-lock` resolves each symbolic ref to a verified commit plus owner_id, repo_id and the transitive dependencies of composite actions. That is what Scorecard's Pinned-Dependencies check wants, and what an inline SHA cannot express. ⚠ Do **not** additionally SHA-pin inline — the mechanisms are mutually exclusive, and inline pinning *removes* actions from the lockfile (measured on hypatia: 14 `startup_failure`s). **Verified**: all workflows parse · no duplicate SPDX identifiers · `gh actions-lock --verify-local`: All 12 workflows have complete lockfile coverage. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 900e2cd commit 1cfd9d0

13 files changed

Lines changed: 120 additions & 22 deletions

‎.github/workflows/actions.lock‎

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# This file is machine-generated by `gh actions-lock`.
2+
# Do not edit by hand; run `gh actions-lock` to update.
3+
# Docs: https://gh.io/actions-lockfile
4+
version: 'v0.0.2'
5+
workflows:
6+
'.github/workflows/boj-build.yml':
7+
- 'actions/checkout@v7.0.1'
8+
'.github/workflows/casket-pages.yml':
9+
- 'actions/cache@v6.1.0'
10+
- 'actions/checkout@v7.0.1'
11+
- 'actions/configure-pages@v6.0.0'
12+
- 'actions/deploy-pages@v5.0.0'
13+
- 'actions/upload-pages-artifact@v5.0.0'
14+
- 'haskell-actions/setup@v2.11.0'
15+
'.github/workflows/codeql.yml':
16+
- 'actions/checkout@v7.0.1'
17+
- 'github/codeql-action@v4.37.3'
18+
'.github/workflows/dogfood-gate.yml':
19+
- 'actions/checkout@v7.0.1'
20+
'.github/workflows/placement-guard.yml':
21+
- 'actions/checkout@v7.0.1'
22+
'.github/workflows/push-email-notify.yml':
23+
- 'dawidd6/action-send-mail@v3.12.0'
24+
'.github/workflows/verify-tlaplus.yml':
25+
- 'actions/cache@v6.1.0'
26+
- 'actions/checkout@v7.0.1'
27+
- 'actions/setup-java@v5.6.0'
28+
- 'actions/upload-artifact@v7.0.1'
29+
dependencies:
30+
'actions/cache@v6.1.0':
31+
ref: 'v6.1.0'
32+
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
33+
owner_id: 44036562
34+
repo_id: 215566462
35+
'actions/checkout@v7.0.1':
36+
ref: 'v7.0.1'
37+
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
38+
owner_id: 44036562
39+
repo_id: 197814629
40+
'actions/configure-pages@v6.0.0':
41+
ref: 'v6.0.0'
42+
commit: 'sha1-45bfe0192ca1faeb007ade9deae92b16b8254a0d'
43+
owner_id: 44036562
44+
repo_id: 513659658
45+
'actions/deploy-pages@v5.0.0':
46+
ref: 'v5.0.0'
47+
commit: 'sha1-cd2ce8fcbc39b97be8ca5fce6e763baed58fa128'
48+
owner_id: 44036562
49+
repo_id: 438112499
50+
'actions/setup-java@v5.6.0':
51+
ref: 'v5.6.0'
52+
commit: 'sha1-03ad4de0992f5dab5e18fcb136590ce7c4a0ac95'
53+
owner_id: 44036562
54+
repo_id: 196057608
55+
'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f':
56+
ref: 'v7.0.0'
57+
commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
58+
owner_id: 44036562
59+
repo_id: 192625955
60+
'actions/upload-artifact@v7.0.1':
61+
ref: 'v7.0.1'
62+
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
63+
owner_id: 44036562
64+
repo_id: 192625955
65+
'actions/upload-pages-artifact@v5.0.0':
66+
ref: 'v5.0.0'
67+
commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9'
68+
owner_id: 44036562
69+
repo_id: 496012378
70+
uses:
71+
- 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
72+
'dawidd6/action-send-mail@v3.12.0':
73+
ref: 'v3.12.0'
74+
commit: 'sha1-12335b969ae3fb71bee5f2c6b829744261aec34c'
75+
owner_id: 9713907
76+
repo_id: 222439721
77+
'github/codeql-action@v4.37.3':
78+
ref: 'v4.37.3'
79+
commit: 'sha1-e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81'
80+
owner_id: 9919
81+
repo_id: 259445878
82+
'haskell-actions/setup@v2.11.0':
83+
ref: 'v2.11.0'
84+
commit: 'sha1-cd0d9bdd65b20557f41bea4dbe43d0b5fbbfe553'
85+
owner_id: 75048950
86+
repo_id: 623796603

‎.github/workflows/boj-build.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
#
34
# OPTIONAL: BoJ Server Build Trigger
45
# This workflow notifies a BoJ Server instance when code is pushed.
@@ -34,7 +35,7 @@ jobs:
3435
# it actually is one instead of failing the run.
3536
steps:
3637
- name: Checkout
37-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
38+
uses: actions/checkout@v7.0.1
3839

3940
- name: Trigger BoJ Server (Casket/ssg-mcp)
4041
env:

‎.github/workflows/casket-pages.yml‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
name: GitHub Pages
34

45
on:
@@ -20,22 +21,22 @@ jobs:
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Checkout
23-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
24+
uses: actions/checkout@v7.0.1
2425

2526
- name: Checkout casket-ssg
26-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
27+
uses: actions/checkout@v7.0.1
2728
with:
2829
repository: hyperpolymath/casket-ssg
2930
path: .casket-ssg
3031

3132
- name: Setup GHCup
32-
uses: haskell-actions/setup@cd0d9bdd65b20557f41bea4dbe43d0b5fbbfe553 # v2
33+
uses: haskell-actions/setup@v2.11.0
3334
with:
3435
ghc-version: '9.8.2'
3536
cabal-version: '3.10'
3637

3738
- name: Cache Cabal
38-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
39+
uses: actions/cache@v6.1.0
3940
with:
4041
path: |
4142
~/.cabal/packages
@@ -101,10 +102,10 @@ jobs:
101102
touch ../_site/.nojekyll
102103
103104
- name: Setup Pages
104-
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
105+
uses: actions/configure-pages@v6.0.0
105106

106107
- name: Upload artifact
107-
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
108+
uses: actions/upload-pages-artifact@v5.0.0
108109
with:
109110
path: '_site'
110111

@@ -117,4 +118,4 @@ jobs:
117118
steps:
118119
- name: Deploy to GitHub Pages
119120
id: deployment
120-
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
121+
uses: actions/deploy-pages@v5.0.0

‎.github/workflows/codeql.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
name: CodeQL Security Analysis
34

45
on:
@@ -35,15 +36,15 @@ jobs:
3536

3637
steps:
3738
- name: Checkout
38-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39+
uses: actions/checkout@v7.0.1
3940

4041
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3
42+
uses: github/codeql-action/init@v4.37.3
4243
with:
4344
languages: ${{ matrix.language }}
4445
build-mode: ${{ matrix.build-mode }}
4546

4647
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3
48+
uses: github/codeql-action/analyze@v4.37.3
4849
with:
4950
category: "/language:${{ matrix.language }}"

‎.github/workflows/dogfood-gate.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
34
#
45
# dogfood-gate.yml — Hyperpolymath Dogfooding Quality Gate
@@ -25,7 +26,7 @@ jobs:
2526

2627
steps:
2728
- name: Checkout repository
28-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
29+
uses: actions/checkout@v7.0.1
2930

3031
- name: Check for A2ML files
3132
id: detect
@@ -74,7 +75,7 @@ jobs:
7475

7576
steps:
7677
- name: Checkout repository
77-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
78+
uses: actions/checkout@v7.0.1
7879

7980
- name: Check for K9 files
8081
id: detect
@@ -124,7 +125,7 @@ jobs:
124125

125126
steps:
126127
- name: Checkout repository
127-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
128+
uses: actions/checkout@v7.0.1
128129

129130
- name: Scan for invisible characters
130131
id: lint
@@ -188,7 +189,7 @@ jobs:
188189

189190
steps:
190191
- name: Checkout repository
191-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
192+
uses: actions/checkout@v7.0.1
192193

193194
- name: Check for Groove manifest
194195
id: groove
@@ -248,7 +249,7 @@ jobs:
248249

249250
steps:
250251
- name: Checkout repository
251-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
252+
uses: actions/checkout@v7.0.1
252253

253254
- name: Generate dogfooding scorecard
254255
run: |

‎.github/workflows/governance.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
# governance.yml — single wrapper calling the shared estate governance bundle
34
# in hyperpolymath/standards instead of carrying per-repo copies.
45
#

‎.github/workflows/hypatia-scan.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
# Thin wrapper around hyperpolymath/standards hypatia-scan-reusable.yml.
34
# See standards#191 for the reusable's purpose and design.
45

‎.github/workflows/mirror.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
name: Mirror to Git Forges
34

45
on:

‎.github/workflows/placement-guard.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
34
#
45
# placement-guard.yml — Coordination-repo content placement guard.
@@ -24,7 +25,7 @@ jobs:
2425

2526
steps:
2627
- name: Checkout repository
27-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
28+
uses: actions/checkout@v7.0.1
2829
with:
2930
fetch-depth: 0
3031

‎.github/workflows/push-email-notify.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2+
# This workflow is managed by gh actions-lock.
23
# Dormant push-email notification. ARMED by setting the repo variable
34
# PUSH_EMAIL_ENABLED=true (the single on/off switch). Addresses are pre-filled;
45
# sending needs the org SMTP secrets (SMTP_HOST/PORT/USER/PASS). Inherited by
@@ -15,7 +16,7 @@ jobs:
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Send push notification email
18-
uses: dawidd6/action-send-mail@12335b969ae3fb71bee5f2c6b829744261aec34c # pinned
19+
uses: dawidd6/action-send-mail@v3.12.0
1920
with:
2021
server_address: ${{ secrets.SMTP_HOST }}
2122
server_port: ${{ secrets.SMTP_PORT }}

0 commit comments

Comments
 (0)