Skip to content

Commit d611745

Browse files
authored
Update "Enforce License Compliance" workflow (#4666)
1 parent e0dad0f commit d611745

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.fossa.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version: 3
2+
targets:
3+
exclude:
4+
- type: setuptools

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ jobs:
1919
distribution: 'temurin'
2020
java-version: '17'
2121

22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
# TODO: remove this when upstream is fixed
26+
- name: Disable Gradle configuration cache (see https://github.com/fossas/fossa-cli/issues/872)
27+
run: sed -i 's/^org.gradle.configuration-cache=.*/org.gradle.configuration-cache=false/' gradle.properties
28+
2229
- name: 'Enforce License Compliance'
2330
uses: getsentry/action-enforce-license-compliance@main
2431
with:
32+
skip_checkout: 'true'
33+
fossa_test_timeout_seconds: 3600
2534
fossa_api_key: ${{ secrets.FOSSA_API_KEY }}

0 commit comments

Comments
 (0)