Skip to content

Commit b24a033

Browse files
fix(ci): add missing SPDX headers to workflow files (#49)
The `Governance` workflow fails on every push here. Its **Workflow security linter** job requires every `.github/workflows/*.yml` to carry an `SPDX-License-Identifier` comment on **line 1**: ``` ERROR: .github/workflows/<file> missing SPDX header Add SPDX header + permissions: ``` This is a real gate catching a real gap — the files below never had the header. Each failure is another red workflow feeding the `ci_activity` notification flood. ### Licence identifier `MPL-2.0` — taken from **this repo's own existing workflow headers**, which agree unanimously. It is *not* assumed or copied from a template. Repos with mixed or absent identifiers were deliberately skipped for a manual decision rather than guessed, because an earlier estate sweep flattened co-developed AGPL repos to MPL-2.0. ### Files `boj-build.yml casket-pages.yml codeql.yml dependabot-automerge.yml governance.yml hypatia-scan.yml instant-sync.yml mirror.yml pages.yml scorecard.yml secret-scanner.yml` Pure one-line prepend — no other content is touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f8c2c21 commit b24a033

11 files changed

Lines changed: 11 additions & 0 deletions

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
name: BoJ Server Build Trigger

.github/workflows/casket-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
name: GitHub Pages

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
name: CodeQL Security Analysis

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
#

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
# governance.yml — single wrapper calling the shared estate governance bundle

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
# hypatia-scan.yml — thin wrapper calling the shared Hypatia neurosymbolic scan

.github/workflows/instant-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
# Instant Forge Sync - Triggers propagation to all forges on push/release

.github/workflows/mirror.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
name: Mirror to Git Forges

.github/workflows/pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
name: GitHub Pages (Ddraig SSG)
23
on:
34
push:

.github/workflows/scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: MPL-2.0
12
# // Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
# SPDX-License-Identifier: MPL-2.0
34
# scorecard.yml — thin wrapper calling the shared OSSF Scorecard analysis in

0 commit comments

Comments
 (0)