Skip to content

Commit fae765d

Browse files
authored
ci: check SPDX license headers (#43)
## Summary Fail CI when tracked source or configuration files lack an Apache-2.0 SPDX header. Run the pinned `ai-openshell/workflows/spdx-check` action in the existing `checks` job so failures feed into the required `ci` result. ## Related Issue No issue: small CI configuration change. ## Changes - Check Python, shell, TOML, YAML, JSON, and Dockerfile headers. - Exclude generated bindings under `src/openshell/_proto/`. ## Testing - Pinned shared action: 46 files checked, 0 missing headers. - `actionlint .github/workflows/ci.yml` passes. - `git diff --check` passes. - Full `mise run ci` was not run locally for this workflow-only change; unit and E2E test changes are not applicable. ## Checklist - [x] Follows Conventional Commits. - [x] Commit is signed off (DCO). - [x] Documentation updates are not applicable. Signed-off-by: Simon Scatton <sscatton@nvidia.com>
1 parent b99ab90 commit fae765d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
with:
2727
persist-credentials: false
2828

29+
- name: Check license headers
30+
uses: ai-openshell/workflows/spdx-check@0b051efd25c3f7319634fed863d2e03e1bd55d7b
31+
with:
32+
include: >-
33+
*.py *.pyi *.sh *.toml *.yml *.yaml *.json
34+
Dockerfile* */Dockerfile*
35+
exclude: src/openshell/_proto/*
36+
2937
- uses: jdx/mise-action@b44d12e7d0d8ee7461bb893e1b1993500433185b # v5.2.7
3038

3139
# fetch-core.sh reads proto/ and sdk/conformance from NVIDIA/OpenShell

0 commit comments

Comments
 (0)