Skip to content

Commit 2369299

Browse files
committed
fix(governance): SPDX header + SHA pins in pages.yml, refresh stale standards pins
Both Governance failures on this branch are the same two faults found and fixed in krl (#56), so the same remedy applies here. Workflow security linter * pages.yml carried no SPDX header. Every other workflow in the repo has one; this was the only omission. Added. * pages.yml used floating tags where every other workflow pins by SHA: actions/checkout@v7 -> 3d3c42e5... # v7 actions/upload-pages-artifact@v5 -> fc324d35... # v5 actions/deploy-pages@v5 -> cd2ce8fc... # v5 Kept on the same major versions, so this changes pinning only, not behaviour. Check Workflow Staleness * governance-reusable.yml, hypatia-scan-reusable.yml and scorecard-reusable.yml were pinned at d7c22711e830 — 63 commits / 24 days behind standards HEAD, outside the gate's recency window. Refreshed to f9dca6ded2cad8ab54044c1cb0489b558ae2682b (full 40-char SHA). Not touched: mirror-reusable.yml (d135b05) and secret-scanner-reusable.yml (c65436e). Neither was flagged, and the secret-scanner pin should not move independently of the gitleaks allowlist work. Verified: all workflows carry an SPDX header; no unpinned third-party actions remain; actionlint 0 errors.
1 parent 558f631 commit 2369299

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/governance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ permissions:
1313

1414
jobs:
1515
governance:
16-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@d7c22711e830e1f383846472f6e9b99debdb201e
16+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@f9dca6ded2cad8ab54044c1cb0489b558ae2682b

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ permissions:
1616

1717
jobs:
1818
scan:
19-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@d7c22711e830e1f383846472f6e9b99debdb201e
19+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@f9dca6ded2cad8ab54044c1cb0489b558ae2682b

.github/workflows/pages.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
13
name: GitHub Pages (Ddraig SSG)
24
on:
35
push:
@@ -18,9 +20,9 @@ jobs:
1820
image: ghcr.io/stefan-hoeck/idris2-pack@sha256:f0758996a931fb35d9ecb1de273c4d59dabe2a09b433afc7e357f65a08b7e1ff
1921
steps:
2022
- name: Checkout Site
21-
uses: actions/checkout@v7
23+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
2224
- name: Checkout Ddraig SSG
23-
uses: actions/checkout@v7
25+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
2426
with:
2527
repository: hyperpolymath/ddraig-ssg
2628
path: .ddraig-ssg
@@ -37,7 +39,7 @@ jobs:
3739
fi
3840
./.ddraig-ssg/build/exec/ddraig build src _site https://hyperpolymath.github.io/${GITHUB_REPOSITORY#*/}
3941
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v5
42+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
4143
with:
4244
path: '_site'
4345
deploy:
@@ -50,4 +52,4 @@ jobs:
5052
steps:
5153
- name: Deploy to GitHub Pages
5254
id: deployment
53-
uses: actions/deploy-pages@v5
55+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
scorecard:
16-
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@d7c22711e830e1f383846472f6e9b99debdb201e
16+
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@f9dca6ded2cad8ab54044c1cb0489b558ae2682b
1717
permissions:
1818
contents: read
1919
security-events: write

0 commit comments

Comments
 (0)