Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions .github/check-license-compliance.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ licenses:
- MIT
- BSD
- ISC
- (MIT AND CC-BY-3.0)
warning:
- LGPL-3.0
- LGPL-2.0
Expand All @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/open-source-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
16 changes: 0 additions & 16 deletions templates/.github/check-license-compliance.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ licenses:
- MIT
- BSD
- ISC
- (MIT AND CC-BY-3.0)
warning:
- LGPL-3.0
- LGPL-2.0
Expand All @@ -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
2 changes: 1 addition & 1 deletion templates/.github/workflows/open-source-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading