diff --git a/.github/check-license-compliance.config.yml b/.github/check-license-compliance.config.yml index 56c6334..d0ff035 100644 --- a/.github/check-license-compliance.config.yml +++ b/.github/check-license-compliance.config.yml @@ -7,7 +7,6 @@ licenses: - MIT - BSD - ISC - - (MIT AND CC-BY-3.0) warning: - LGPL-3.0 - LGPL-2.0 @@ -16,22 +15,9 @@ licenses: - CC-BY-4.0 - Python-2.0 - BlueOak-1.0.0 - - CC BY-SA 4.0 - CC-BY-3.0 - CC0-1.0 - forbidden: - - AGPL-3.0 - - GPL-2.0 - - GPL-3.0 -allowWarnings: true -# Options passed directly to the license-checker package -licenseCheckerOptions: - # Global options are applied to all types of checks - global: - excludePrivatePackages: true - excludePackages: "@cspell/dict-en-common-misspellings@2.0.7" - # You can also specify options for each type of check. They extend the global options - # warning: - # excludePrivatePackages: false - # forbidden: - # excludePrivatePackages: false +log: debug +excludePackages: + # The following packages have a license that is not a valid SPDX identifier + - 'babel-plugin-transform-import-meta@2.2.1' # BSD diff --git a/.github/workflows/open-source-checks.yml b/.github/workflows/open-source-checks.yml index eede2f0..693a056 100644 --- a/.github/workflows/open-source-checks.yml +++ b/.github/workflows/open-source-checks.yml @@ -43,9 +43,10 @@ jobs: npm-token: ${{ secrets.NPM_TOKEN_XCUT }} - name: Check License Compliance - uses: Telefonica/check-license-compliance/.github/actions/check-and-comment@v1 + uses: Telefonica/check-license-compliance/.github/actions/check-and-comment@v2 with: config-file: .github/check-license-compliance.config.yml + log: debug env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9198bba..4f194fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 #### Deprecated #### Removed +## [1.1.0] - 2025-02-04 + +### Changed + +* feat: Bump `check-license-compliance` to v2. Update the action configuration accordingly + ## [1.0.1] - 2025-01-21 ### Changed diff --git a/package.json b/package.json index 4c4bd8e..248a850 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tid-xcut/opensource-scaffold", - "version": "1.0.1", + "version": "1.1.0", "type": "module", "description": "Scaffolding for open source projects. A CLI tool to create open source repositories tools and resources", "packageManager": "pnpm@9.4.0", diff --git a/templates/.github/check-license-compliance.config.yml b/templates/.github/check-license-compliance.config.yml index be05d18..113f824 100644 --- a/templates/.github/check-license-compliance.config.yml +++ b/templates/.github/check-license-compliance.config.yml @@ -7,7 +7,6 @@ licenses: - MIT - BSD - ISC - - (MIT AND CC-BY-3.0) warning: - LGPL-3.0 - LGPL-2.0 @@ -19,18 +18,3 @@ licenses: - CC BY-SA 4.0 - CC-BY-3.0 - CC0-1.0 - forbidden: - - AGPL-3.0 - - GPL-2.0 - - GPL-3.0 -allowWarnings: true -# Options passed directly to the license-checker package -licenseCheckerOptions: - # Global options are applied to all types of checks - global: - excludePrivatePackages: true - # You can also specify options for each type of check. They extend the global options - # warning: - # excludePrivatePackages: false - # forbidden: - # excludePrivatePackages: false diff --git a/templates/.github/workflows/open-source-checks.yml b/templates/.github/workflows/open-source-checks.yml index cba3ef9..fd15964 100644 --- a/templates/.github/workflows/open-source-checks.yml +++ b/templates/.github/workflows/open-source-checks.yml @@ -40,7 +40,7 @@ jobs: # TODO: Add step to install dependencies here - name: Check License Compliance - uses: Telefonica/check-license-compliance/.github/actions/check-and-comment@v1 + uses: Telefonica/check-license-compliance/.github/actions/check-and-comment@v2 with: config-file: .github/check-license-compliance.config.yml env: