Skip to content

Commit a4e50ee

Browse files
committed
Tryout copyleft license checker action
1 parent b160f57 commit a4e50ee

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/enforce-license-compliance.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ on:
77
branches: [master, main]
88

99
jobs:
10+
check-copyleft-license-compliance:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Check for copyleft licenses
19+
uses: getsentry/copyleft-license-checker@main
20+
with:
21+
fail-on-found: 'true'
22+
allow-gpl-classpath: 'false'
23+
1024
enforce-license-compliance:
1125
runs-on: ubuntu-latest
1226
steps:

sentry/src/main/java/io/sentry/util/Random.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* questions.
2424
*/
2525

26+
// need a change, so that copyleft license checker will pick it up
27+
2628
package io.sentry.util;
2729

2830
import java.util.concurrent.atomic.AtomicLong;

0 commit comments

Comments
 (0)