Enterprises can enforce a centralized policy for the open-source licenses of their dependencies through repository rulesets. Requiring license compliance results before merging makes a noncompliant package a decision point: it has to be replaced, covered by a policy change or given an exception.
The same policy can be exposed through APIs that manage rules and check packages. A coding agent can therefore consult it before proposing a dependency, instead of discovering the problem only when a pull request reaches the merge gate. Policy changes generate audit events.
General availability, announced on October 16, covers Enterprise Cloud, including data-resident Enterprise Cloud, for repositories with GitHub Code Security enabled. The source specifies no explicit Belgium/EEA exclusion; account, plan and service-region conditions still apply.
Automating a policy does not resolve the legal meaning of a license or the consequences of how a product is distributed. The feature makes an organization's chosen rules enforceable and visible to agents, while leaving those underlying judgments to human review.
