ci(license): add License Headers workflow (ref #81)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-05-12 10:00:54 +02:00
parent e90a07a578
commit 4d937995ba
2 changed files with 23 additions and 0 deletions

22
.github/workflows/license-check.yml vendored Normal file
View File

@ -0,0 +1,22 @@
# SPDX-License-Identifier: LicenseRef-CMSD-1.0
# Copyright (c) 2026 CyberMind — Gérald Kerma <devel@cybermind.fr>
# Source-Disclosed License — All rights reserved except as expressly granted.
# See LICENCE-CMSD-1.0.md for terms.
name: License Headers
on:
pull_request:
push:
branches: [master]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Verify CMSD-1.0 headers
run: python3 scripts/license-headers.py --check

View File

@ -5,3 +5,4 @@
# Phase C: this file is deleted; CI then enforces repo-wide.
scripts/license-headers.py
tests/test_license_headers.py
.github/workflows/license-check.yml