diff --git a/.fossa.yml b/.fossa.yml new file mode 100644 index 0000000000..d4ee8ca10a --- /dev/null +++ b/.fossa.yml @@ -0,0 +1,4 @@ +version: 3 +targets: + exclude: + - type: setuptools diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml index 8fad23d30c..ee8e4c7414 100644 --- a/.github/workflows/enforce-license-compliance.yml +++ b/.github/workflows/enforce-license-compliance.yml @@ -19,7 +19,16 @@ jobs: distribution: 'temurin' java-version: '17' + - name: Checkout + uses: actions/checkout@v4 + + # TODO: remove this when upstream is fixed + - name: Disable Gradle configuration cache (see https://github.com/fossas/fossa-cli/issues/872) + run: sed -i 's/^org.gradle.configuration-cache=.*/org.gradle.configuration-cache=false/' gradle.properties + - name: 'Enforce License Compliance' uses: getsentry/action-enforce-license-compliance@main with: + skip_checkout: 'true' + fossa_test_timeout_seconds: 3600 fossa_api_key: ${{ secrets.FOSSA_API_KEY }}