ci: add REUSE compliance lint as PR status check#103
Merged
Merged
Conversation
ricogu
requested changes
May 26, 2026
ricogu
previously approved these changes
May 26, 2026
ricogu
approved these changes
May 26, 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
Adds a GitHub Actions workflow that runs
reuse linton every PR targetingmain, enforcing REUSE specification compliance for copyright and license information across all files. Also fixes existing coverage gaps inREUSE.tomlso the initial check passes from day one.Closes #92
Changes
Added
.github/workflows/reuse-lint.yml— new REUSE Compliance workflow usingfsfe/reuse-action@v5, triggered onpull_requesttomainTechnical Details
The project already had
REUSE.tomlwith aLICENSES/directory in place. The gap was that.opencode/**(opencode tooling + its node_modules) andopenspec/**(change management artifacts) were not annotated, causingreuse lintto report ~3400 uncovered files.The fix uses
precedence = "override"for the node_modules glob so it takes priority over the broader.opencode/**annotation, allowing "their respective authors" attribution for third-party code without changing the project-owned files in.opencode/.reuse lintwas verified locally before this PR — all 3474 files pass (3474/3474 compliant).Compatibility & Impact
Breaking Changes
Dependencies
fsfe/reuse-action@v5(external GitHub Action, FSFE-maintained)Testing
reuse lintrun locally and confirmed clean (3474/3474 files, no errors)reuse-lintstatus check appears and passes on this PR