Skip to content

ci: add license-check workflow#217

Draft
Seth-Schmidt wants to merge 3 commits into
mainfrom
feature/pro-560-add-license-check-workflow
Draft

ci: add license-check workflow#217
Seth-Schmidt wants to merge 3 commits into
mainfrom
feature/pro-560-add-license-check-workflow

Conversation

@Seth-Schmidt

Copy link
Copy Markdown
Contributor

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.yml
    • 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.
  • 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-branch
required-status-checks ruleset.

@cla-bot cla-bot Bot added the cla-signed label Jul 17, 2026
Comment thread .github/workflows/license-check.yml Fixed
Comment thread .github/workflows/license-check.yml Fixed
Comment thread .github/workflows/license-check.yml Fixed
Comment thread .github/workflows/license-check.yml Fixed
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
Seth-Schmidt force-pushed the feature/pro-560-add-license-check-workflow branch 3 times, most recently from b2df1f0 to 07ae9ff Compare July 17, 2026 19:40
@Seth-Schmidt
Seth-Schmidt force-pushed the feature/pro-560-add-license-check-workflow branch from 07ae9ff to dee3d5c Compare July 17, 2026 19:41
@Seth-Schmidt
Seth-Schmidt force-pushed the feature/pro-560-add-license-check-workflow branch from 801e2fc to 80bdea6 Compare July 17, 2026 20:39
@Seth-Schmidt Seth-Schmidt self-assigned this Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants