Skip to content

Commit c7671e7

Browse files
fix(ci): add missing SPDX headers to workflow files (#72)
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 `codeql.yml generator-generic-ossf-slsa3-publish.yml pages.yml php.yml rust.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 1e2fe3a commit c7671e7

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

.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
# For most projects, this workflow file will not need changing; you simply need
23
# to commit it to your repository.
34
#

.github/workflows/generator-generic-ossf-slsa3-publish.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
# This workflow uses actions that are not certified by GitHub.
23
# They are provided by a third-party and are governed by
34
# separate terms of service, privacy policy, and support

.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/php.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: PHP Composer
23

34
on:

.github/workflows/rust.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: Rust
23

34
on:

0 commit comments

Comments
 (0)