ci: verify dependency license evidence - #37
Merged
AlexStocks merged 2 commits intoAug 29, 2026
Conversation
8 tasks
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
release licenses, which reads a built binary's actual Go build info and verifies top-level license/notice evidence for every linked modulemake license-dependenciestarget for the standard binarylicense-dependenciesCI job that uploads the JSON evidence for 14 daysRationale
WP0-C in #3 requires dependency license evidence before release packaging. The repository already uses
collectLicensesduring release archive creation; this change exposes that same implementation for ordinary pull requests rather than creating a second license scanner.This PR is stacked on #35 (
codex/issue-33-portable-sdk), which owns the portable SDK gate. It intentionally does not depend on the duplicate #34 chain.Behavior, API, and compatibility
Validation
make license-dependenciesrun twice, both times producing a manifest with 95 Go modules and 1 native dependencyjqgo test ./...make checkwith the required SQLite include pathmake check-generatedmake license-checkgo run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12git diff --cached --checkExact head validated:
d6eed940a60eed44a2e98fbecdb3a91c5ec08133.AI usage
Implemented with Codex assistance. The real-binary test and generated evidence path were self-reviewed with test-guard and verified by the commands above.