GitHub license compliance goes GA, with an API so coding agents can check packages against policy
As of Oct 16, GitHub Enterprise Cloud repos with Code Security can enforce an enterprise-wide dependency license policy through a ruleset condition, Require license compliance results before merging, which annotates and blocks PRs that add noncompliant dependencies. A new API endpoint checks whether packages comply, so coding agents can avoid suggesting dependencies that break the org's license rules.