Repository navigation
ci(license): require only the SPDX license identifier - #6178
Merged
Merged
Conversation
github-actions
Bot
requested review from
SDAChess,
TaylorMutch,
johntmyers,
matthewgrossman and
purp
December 2, 2026 21:46
|
🌿 Preview your docs: https://nvidia-preview-pr-6178.docs.buildwithfern.com/openshell |
krishicks
force-pushed
the
ci/require-spdx-license-only/krishicks
branch
3 times, most recently
from
December 2, 2026 23:51
bc59489 to
6ca3bfb
Compare
SDAChess
approved these changes
Dec 2, 2026
krishicks
enabled auto-merge
December 2, 2026 23:54
OpenShell has been donated to the CNCF, but the License Headers check still failed any file without the NVIDIA SPDX-FileCopyrightText line, and license:update wrote that line into every new file. CNCF guidance does not require or recommend per-contributor copyright notices, and asks that existing notices not be changed or removed without the holder's permission: https://github.com/cncf/foundation/blob/main/copyright-notices.md CI now runs the organization's shared spdx-check action, which requires only SPDX-License-Identifier: Apache-2.0 and, given the PR or merge-group base, fails when a file loses a copyright notice its header had there. license:check and license:update require and add only the license line. The style guide, docs template, and agent instructions say not to add or remove copyright lines. Signed-off-by: Kris Hicks <khicks@nvidia.com>
krishicks
force-pushed
the
ci/require-spdx-license-only/krishicks
branch
from
December 3, 2026 00:41
6ca3bfb to
08494a9
Compare
SDAChess
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenShell has been donated to the CNCF, so new files should no longer carry an NVIDIA copyright line. License Headers now runs the organization's shared
spdx-checkaction. It requires onlySPDX-License-Identifier: Apache-2.0and fails if a PR removes an existing copyright notice.license:updateno longer writes a copyright line.This follows CNCF's copyright notice guidance: contributors keep their copyrights, CNCF "does not require or recommend that every contributor include their copyright notice in contributed files", and "you should not change or remove someone else's copyright notice unless they have expressly permitted you to do so."
Related Issue
No issue. The check required the NVIDIA
SPDX-FileCopyrightTextline in every source file, andlicense:updateinserted it into every new file. Uses the action'sbaseinput from ai-openshell/workflows#4.Changes
ai-openshell/workflows/spdx-checkon the runner, with no CI container or mise. It passes the PR or merge-group base asbase. Its include and exclude lists match the 1757 filesscripts/update_license_headers.pychecks.scripts/update_license_headers.py, used bylicense:checkandlicense:update, accepts a file with only the license identifier and inserts only that line, including into.licensesidecars.STYLEGUIDE.md, the docs frontmatter template, theupdate-docsskill, andAGENTS.mdsay not to add a copyright line to new files and not to remove existing ones.Testing
scripts/update_license_headers_test.py(6 tests), added totest:python-scriptscrates/openshell-core/src/lib.rsChecklist