Skip to content

Commit 4c88019

Browse files
fix(ci): reconcile the workflows with actions.lock (gh-actions-lock) (#70)
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 0822c85 commit 4c88019

14 files changed

Lines changed: 45 additions & 32 deletions

.github/workflows/actions.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ dependencies:
118118
repo_id: 623796603
119119
'hyperpolymath/a2ml-ecosystem@main':
120120
ref: 'main'
121-
commit: 'sha1-aa4b836bd969df2bc58128cb8e3d20bbc88d5e79'
121+
commit: 'sha1-ed83d6927e8fb21431e403dbf6d7a4af96772746'
122122
owner_id: 6759885
123123
repo_id: 1275649586
124124
'hyperpolymath/k9-ecosystem@main':
125125
ref: 'main'
126-
commit: 'sha1-89f3c2702f4f650a92aa7411502f38da06abd562'
126+
commit: 'sha1-c1a34884054fabf0e9de81dbf68f4ba7874e85f1'
127127
owner_id: 6759885
128128
repo_id: 1275650185
129129
'hyperpolymath/smtp-notify-action@v0.2.0':

.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.
@@ -22,22 +23,22 @@ jobs:
2223
runs-on: ubuntu-latest
2324
steps:
2425
- name: Checkout
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26+
uses: actions/checkout@v4.1.1
2627

2728
- name: Checkout casket-ssg
28-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
29+
uses: actions/checkout@v4.1.1
2930
with:
3031
repository: hyperpolymath/casket-ssg
3132
path: .casket-ssg
3233

3334
- name: Setup GHCup
34-
uses: haskell-actions/setup@ec49483bfc012387b227434aba94f59a6ecd0900 # v2.7.5
35+
uses: haskell-actions/setup@v2.7.5
3536
with:
3637
ghc-version: '9.8.2'
3738
cabal-version: '3.10'
3839

3940
- name: Cache Cabal
40-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
41+
uses: actions/cache@v4.3.0
4142
with:
4243
path: |
4344
~/.cabal/packages
@@ -99,10 +100,10 @@ jobs:
99100
touch ../_site/.nojekyll
100101
101102
- name: Setup Pages
102-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
103+
uses: actions/configure-pages@v5.0.0
103104

104105
- name: Upload artifact
105-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
106+
uses: actions/upload-pages-artifact@v3.0.1
106107
with:
107108
path: '_site'
108109

@@ -115,4 +116,4 @@ jobs:
115116
steps:
116117
- name: Deploy to GitHub Pages
117118
id: deployment
118-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
119+
uses: actions/deploy-pages@v4.0.5

.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,15 +37,15 @@ jobs:
3637
build-mode: none
3738
steps:
3839
- name: Checkout
39-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
uses: actions/checkout@v6.0.2
4041

4142
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4.34.0
43+
uses: github/codeql-action/init@v4.34.0
4344
with:
4445
languages: ${{ matrix.language }}
4546
build-mode: ${{ matrix.build-mode }}
4647

4748
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4.34.0
49+
uses: github/codeql-action/analyze@v4.34.0
4950
with:
5051
category: "/language:${{ matrix.language }}"

.github/workflows/dogfood-gate.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.
@@ -27,7 +28,7 @@ jobs:
2728

2829
steps:
2930
- name: Checkout repository
30-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
31+
uses: actions/checkout@v4.3.1
3132

3233
- name: Check for A2ML files
3334
id: detect
@@ -40,7 +41,7 @@ jobs:
4041
4142
- name: Validate A2ML manifests
4243
if: steps.detect.outputs.count > 0
43-
uses: hyperpolymath/a2ml-ecosystem/validate-action@ed83d6927e8fb21431e403dbf6d7a4af96772746 # main
44+
uses: hyperpolymath/a2ml-ecosystem/validate-action@main
4445
with:
4546
path: '.'
4647
strict: 'false'
@@ -71,7 +72,7 @@ jobs:
7172

7273
steps:
7374
- name: Checkout repository
74-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
75+
uses: actions/checkout@v4.3.1
7576

7677
- name: Check for K9 files
7778
id: detect
@@ -88,7 +89,7 @@ jobs:
8889
8990
- name: Validate K9 contracts
9091
if: steps.detect.outputs.k9_count > 0
91-
uses: hyperpolymath/k9-ecosystem/validate-action@c1a34884054fabf0e9de81dbf68f4ba7874e85f1 # main
92+
uses: hyperpolymath/k9-ecosystem/validate-action@main
9293
with:
9394
path: '.'
9495
strict: 'false'
@@ -120,7 +121,7 @@ jobs:
120121

121122
steps:
122123
- name: Checkout repository
123-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
124+
uses: actions/checkout@v4.3.1
124125

125126
- name: Scan for invisible characters
126127
id: lint
@@ -184,7 +185,7 @@ jobs:
184185

185186
steps:
186187
- name: Checkout repository
187-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
188+
uses: actions/checkout@v4.3.1
188189

189190
- name: Check for Groove manifest
190191
id: groove
@@ -244,7 +245,7 @@ jobs:
244245

245246
steps:
246247
- name: Checkout repository
247-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
248+
uses: actions/checkout@v4.3.1
248249

249250
- name: Generate dogfooding scorecard
250251
run: |

.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: 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.
@@ -48,12 +49,12 @@ jobs:
4849

4950
steps:
5051
- name: Checkout repository
51-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+
uses: actions/checkout@v6.0.2
5253
with:
5354
fetch-depth: 0 # Full history for better pattern analysis
5455

5556
- name: Setup Elixir for Hypatia scanner
56-
uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0
57+
uses: erlef/setup-beam@v1.24.0
5758
with:
5859
elixir-version: '1.18'
5960
otp-version: '27'
@@ -107,7 +108,7 @@ jobs:
107108
echo "- Medium: $MEDIUM" >> $GITHUB_STEP_SUMMARY
108109
109110
- name: Upload findings artifact
110-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
111+
uses: actions/upload-artifact@v4.6.2
111112
with:
112113
name: hypatia-findings
113114
path: hypatia-findings.json
@@ -243,7 +244,7 @@ jobs:
243244
always() &&
244245
(github.event_name != 'pull_request' ||
245246
github.event.pull_request.head.repo.fork != true)
246-
uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
247+
uses: github/codeql-action/upload-sarif@v4.32.6
247248
with:
248249
sarif_file: hypatia.sarif
249250
# Distinct category so Hypatia results coexist with CodeQL's
@@ -383,7 +384,7 @@ jobs:
383384
# the pull-requests: write permission above: a token/API hiccup or
384385
# a fork PR (read-only token) skips the comment, not the check.
385386
continue-on-error: true
386-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
387+
uses: actions/github-script@v8.0.0
387388
with:
388389
script: |
389390
const fs = require('fs');

.github/workflows/instant-sync.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.
@@ -18,7 +19,7 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Trigger Propagation
21-
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
22+
uses: peter-evans/repository-dispatch@v4.0.1
2223
with:
2324
token: ${{ secrets.FARM_DISPATCH_TOKEN }}
2425
repository: hyperpolymath/.git-private-farm

.github/workflows/label-triage.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
name: Label Triage
34

.github/workflows/labels.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
name: Labels
34

.github/workflows/mirror.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)