GitHub changed license compliance handling for dependencies
Yes. GitHub added open source license compliance as an enterprise policy layer for dependencies, so pull requests can be checked against allowed and disallowed licenses before merge.
The harder question is who you do it with: Find collaborators
Did GitHub change license compliance handling for open source dependencies
Yes. GitHub now treats license compliance for dependencies as a policy-enforcement workflow, not just a reporting problem. The new open source license compliance feature applies an enterprise-wide license policy when pull requests add or change dependencies, so the review step can block or surface work before it lands. GitHub documents this as an expansion of dependency review, with license checks running against the policy for each new or changed dependency.
The part people get wrong is assuming GitHub only tells you what a dependency’s license is. That older view still exists in the license API, which identifies the license for a project but does not account for dependency licenses. The newer compliance feature is different: it evaluates the dependency set against an organization policy and lets enterprise license managers handle closure requests when a dependency is not acceptable.
GitHub’s own changelog says the feature is in public preview for GitHub Enterprise Cloud customers with GitHub Advanced Security Code Security licenses. That matters because the change is not universal across every GitHub account, repo type, or billing plan. Teams without that enterprise setup should still expect the older dependency review behavior and other supply chain tools, not the new policy-driven compliance workflow.
The practical change is where the decision happens. Before, teams often reviewed a dependency report after the fact, then sorted out notice files, attribution, or legal questions manually. With the new license compliance feature, the policy is defined once, and pull requests are checked against it as part of the workflow. That shifts the work from cleanup after merge to review before merge, which is usually where license risk is easier to catch.
GitHub also updated the surrounding data quality story. A later changelog entry says license data quality improvements now feed dependency insights, SBOMs, the open source license compliance feature, and the dependency review action. That is not the same as changing the policy model again, but it does show GitHub is still refining how license information is collected and surfaced across the dependency stack.
A concrete way to think about the change is this: an organization can define which licenses are acceptable, then a developer opens a pull request that introduces a new package. GitHub checks the package license against the policy. If it is allowed, the review can move forward. If it is not, the developer is prompted for more information, and the request can go to the enterprise license managers who have permission to modify the policy.
The inconvenient part is that this does not solve every license problem. GitHub can only enforce what it can see in dependency data, and dependency data is still only one view of reuse. GitHub’s own REST documentation says the license API does not take into account project dependencies, which is why compliance has to be handled through dedicated supply chain features rather than a single license endpoint.
That limitation matters in real projects. A dependency can be pulled in transitively, a package can have incomplete metadata, or a team may also copy code directly without adding it as a formal dependency. GitHub’s compliance tools help with the dependency graph that GitHub can observe, but they are not a complete substitute for reviewing copied code, bundled assets, notices, or non-package-manager reuse.
For a team using GitHub today, the action item is simple: check whether your organization has access to the open source license compliance preview, decide whether you want policy enforcement or only visibility, and then align your dependency review rules with the licenses you actually allow. If your workflow already uses Dependency Review, this change makes license handling stricter and earlier in the pull request process.
If you want a broader operational context for product work around dependencies, DevConnect keeps the discussion focused on real testing and shipping, not on compliance theater: https://devconnectplatform.com. That does not replace GitHub’s tools, but it helps separate code review, dependency testing, and release work into the right places.
So the answer is yes, GitHub changed license compliance handling for open source dependencies. The change is that license compliance moved toward policy-based enforcement for enterprise customers, with pull request checks, enterprise managers, and updated license data feeding the workflow. The part that did not change is the need for human review of cases GitHub cannot infer from dependency metadata alone.
What changed, in plain terms
GitHub added an enterprise license policy layer on top of dependency review. That means a dependency is no longer only something you inspect after it appears in a project. It can now be checked against a defined allowed or disallowed license policy during pull request review.
What did not change
GitHub did not turn every license question into an automatic yes-or-no for every repository on the platform. The feature is tied to enterprise availability, and the underlying problem of incomplete dependency visibility still exists. Teams still need notice files, legal review where required, and checks for copied or bundled code outside dependency metadata.
What to do next
If you manage a repo or org, review three things: whether dependency review is already enabled, whether your license policy is expressed anywhere outside a document, and whether someone owns the exception process when a dependency is blocked. The new GitHub feature is useful only when policy, ownership, and review flow are aligned.
Bottom line
GitHub changed license compliance handling by making it more policy-driven and more automatic for dependency changes. It is a real workflow change, not a rename, and it mainly matters for enterprise teams that want license enforcement before merge instead of after release.
Frequently asked questions
Is this the same as GitHub Dependency Review
No. Dependency Review checks pull requests for dependency issues, and the new license compliance feature adds an enterprise policy layer for allowed and disallowed licenses.
Does GitHub check transitive dependencies too
GitHub can work with richer dependency submission results, which improves transitive dependency visibility in supported workflows, but it still depends on the data GitHub can observe.
Is this available to every GitHub user
No. GitHub says the open source license compliance feature is in public preview for GitHub Enterprise Cloud customers with GitHub Advanced Security Code Security licenses.
Does GitHub’s license API cover dependency licenses
No. GitHub’s license REST endpoint identifies the license for a project and does not account for project dependencies.
Know someone stuck on this? Send them the answer.
Sources
Every link here was fetched and confirmed to resolve before this page went live.
- About open source license compliance - GitHub Docs
- Open source license compliance is in public preview - GitHub Changelog
- How GitHub maintains compliance for open source dependencies - The GitHub Blog
- License data quality improvements - GitHub Changelog
- Managing your dependency security - GitHub Docs
- REST API endpoints for licenses - GitHub Docs
Related questions
- Did GitHub change open source license compliance in pull requests?
- GitHub did change pull request license checks
- Use GitHub License Checks Before You Merge
Not the question you had?
Ask it. Every source gets fetched and checked before anything goes up, so it takes a day or two, and questions that cannot be answered honestly do not get a page at all.
Looking for someone to build it with?
People on DevConnect post what they are building and what they are missing. You can browse projects, or say what you want to work on and let people come to you.