Skip to content

Read the licence policy from main and exempt the Sentry CLI - #19

Merged
KOliver94 merged 4 commits into
mainfrom
licence-policy-config
Nov 15, 2026
Merged

KOliver94 merged 4 commits into
mainfrom
licence-policy-config

Conversation

@KOliver94

Copy link
Copy Markdown
Member

The dependency review's licence allow-list lived inside shared-checks.yml, so callers received it through their release pin: every newly allowed licence meant a release here and a Renovate PR in each caller before a blocked PR could merge.

  • The policy moves to .github/dependency-review.yml, which the Dependencies job reads from main. A change applies to every caller as soon as it merges, and re-running a failed Checks / Dependencies picks it up. The workflow code itself stays pinned by release.
  • The file gains allow-dependencies-licenses for packages whose licence the policy excludes but whose use here it permits. The first entry is pkg:npm/sentry, the FSL-1.1-Apache-2.0 Sentry CLI that @sentry/bundler-plugins 11.12 runs at build time.
  • The Test workflow's new Licence policy job runs the dependency review with each pull request's version of the file, so an invalid licence ID or broken YAML fails here instead of in every caller.
  • README, docs/workflows.md and CLAUDE.md describe the exception to the release rule. The file's path and the main branch name are now part of the shared checks' interface.

Callers pick this up with the next release's pin. From then on, licence changes need no release.

@KOliver94
KOliver94 merged commit d867b6c into main Nov 15, 2026
7 checks passed
@KOliver94
KOliver94 deleted the licence-policy-config branch November 15, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant