Skip to content

chore(licensing): SPDX headers, gitleaks allowlists and OpenSSF Scorecard - #1087

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/common-ground-licensing-scorecard
Nov 11, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
chore/common-ground-licensing-scorecard

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

Licensing, secret scanning and supply-chain hygiene in one change.

  • SPDX licence headers: 99.84% -> 100% of 1251 tracked source files carry an SPDX-License-Identifier in their first 30 lines or are covered by REUSE metadata. New headers follow the style the repository already uses, with the year the file was first committed. Translation catalogues (and generated files, where there are any) are covered by REUSE.toml.
  • Licence declarations: LICENSE, package.json, composer.json, publiccode.yml and appinfo/info.xml all declare EUPL-1.2; nothing to change.
  • Committed secrets: gitleaks dir found no real secrets. The findings are test fixtures, seed slugs and the documented admin:admin login of the local development container; .gitleaks.toml keeps the default rules and adds 7 allowlists, each naming exact files, only the rules that fire there, and the reason.
  • OpenSSF Scorecard: adds .github/workflows/scorecard.yml (publish_results, every action pinned by commit SHA, read-only default token, job-level write only for SARIF upload and the OIDC token). It runs from main once hosted Actions is back. Every workflow now has a top-level permissions: block (read-only, with write grants moved to the jobs that need them).

Verified locally

  • hydra diff check on the changed files: php -l, phpcs, phpstan, eslint and stylelint green; the gate runner reported nothing caused by these lines (anything inherited is named above).
  • Maintainability floor compare against the merge base: no drop.
  • gitleaks dir --redact (8.30.1): no leaks after the ignore list.
  • Hosted CI is down, so this merges on local green into development.

AI disclosure: prepared with Claude Code (claude-opus-5-5) and reviewed before merge.

…card

SPDX headers now sit in the first 30 lines of every tracked source file
(99.84% -> 100% of 1251 files), in the style the repository already uses; the
translation catalogues are covered by REUSE.toml. .gitleaks.toml keeps the
default gitleaks rules and allows, per named file and rule, the findings that
are test fixtures, seed identifiers or documented default logins, each with
the reason. Adds the OpenSSF Scorecard workflow (actions pinned by commit
SHA) and gives the workflows whose token needs are known a read-only
top-level permission, with the write grants on the jobs that need them.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit 7566738 into development Nov 11, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant