ci: add license-check workflow#217
Draft
Seth-Schmidt wants to merge 3 commits into
Draft
Conversation
Adds a PR gate that fails when a dependency introduces a copyleft (GPL/AGPL/LGPL) license: - license-check/node (bpr): runs `license-checker` over the root production dependency tree. - license-check/rust (bpr): runs `cargo deny check licenses` against the Solana OFT crate, governed by a new contracts/solanaOFT/deny.toml allow-list. Both jobs carry the (bpr) suffix so they can be added to the default-branch required-status-checks ruleset.
Seth-Schmidt
force-pushed
the
feature/pro-560-add-license-check-workflow
branch
3 times, most recently
from
July 17, 2026 19:40
b2df1f0 to
07ae9ff
Compare
Seth-Schmidt
force-pushed
the
feature/pro-560-add-license-check-workflow
branch
from
July 17, 2026 19:41
07ae9ff to
dee3d5c
Compare
Seth-Schmidt
force-pushed
the
feature/pro-560-add-license-check-workflow
branch
from
July 17, 2026 20:39
801e2fc to
80bdea6
Compare
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 PR gate that fails when a dependency introduces a copyleft
(GPL/AGPL/LGPL) license. Addresses compliance finding 3-1 (License Check).
Changes
.github/workflows/license-check.ymllicense-check/node (bpr)— runslicense-checkerover the rootproduction dependency tree.
license-check/rust (bpr)— runscargo deny check licensesagainst theSolana OFT crate.
contracts/solanaOFT/deny.toml— cargo-deny allow-list (MIT, Apache-2.0,BSD variants, ISC, Unicode, Zlib) with
licenses.version = 2.Both jobs carry the
(bpr)suffix so they can be added to the default-branchrequired-status-checks ruleset.