Skip to content

Add OSS license gate to Android (RND-1996)#2963

Merged
StylianosGakis merged 1 commit into
developfrom
eng/oss-license-gate
Jun 2, 2026
Merged

Add OSS license gate to Android (RND-1996)#2963
StylianosGakis merged 1 commit into
developfrom
eng/oss-license-gate

Conversation

@hugokallstrom
Copy link
Copy Markdown
Contributor

@hugokallstrom hugokallstrom commented Jun 2, 2026

What
An action that scans licenses in a repo and blocks for certain licenses that we can not include because of compliance reasons.

This action will run on every PR and will scan licenses for dependencies

See the full action impl here: https://github.com/HedvigInsurance/prod-env/pull/757

Why
For compliance reasons we need to make sure we dont merge certain licenses. For example, adding a dependency with strong copy-left license would mean we have to open source our source code.

Warn-only license gate (gate-severity HIGH,CRITICAL since Android is a
distribution context) plus the weekly license-inventory stub. Both call
the central reusable workflows in prod-env.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@hugokallstrom hugokallstrom requested a review from a team as a code owner June 2, 2026 08:49
@notion-workspace
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@StylianosGakis StylianosGakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try this!

@StylianosGakis StylianosGakis enabled auto-merge June 2, 2026 08:54
@StylianosGakis StylianosGakis merged commit 530ee28 into develop Jun 2, 2026
4 checks passed
@StylianosGakis StylianosGakis deleted the eng/oss-license-gate branch June 2, 2026 08:56
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.

2 participants