You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-29 14:01:15 +03:00
A task and GitHub Actions workflow are provided here for checking the license types of Go project dependencies. On every push and pull request that affects relevant files, the CI workflow will check: - If the dependency licenses cache is up to date - If any of the project's dependencies have an unapproved license type. Approval can be based on: - Universally allowed license type - Individual dependency
87 lines
2.4 KiB
YAML
87 lines
2.4 KiB
YAML
# See: https://github.com/github/licensed/blob/master/docs/configuration.md
|
|
sources:
|
|
go: true
|
|
|
|
apps:
|
|
- source_path: .github/workflows/assets/validate-registry/
|
|
|
|
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/AGPL-3.0/.licensed.yml
|
|
allowed:
|
|
# The following are based on: https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses
|
|
- gpl-1.0-or-later
|
|
- gpl-1.0+ # Deprecated ID for `gpl-1.0-or-later`
|
|
- gpl-2.0-or-later
|
|
- gpl-2.0+ # Deprecated ID for `gpl-2.0-or-later`
|
|
- gpl-3.0-only
|
|
- gpl-3.0 # Deprecated ID for `gpl-3.0-only`
|
|
- gpl-3.0-or-later
|
|
- gpl-3.0+ # Deprecated ID for `gpl-3.0-or-later`
|
|
- lgpl-2.0-or-later
|
|
- lgpl-2.0+ # Deprecated ID for `lgpl-2.0-or-later`
|
|
- lgpl-2.1-only
|
|
- lgpl-2.1 # Deprecated ID for `lgpl-2.1-only`
|
|
- lgpl-2.1-or-later
|
|
- lgpl-2.1+ # Deprecated ID for `lgpl-2.1-or-later`
|
|
- lgpl-3.0-only
|
|
- lgpl-3.0 # Deprecated ID for `lgpl-3.0-only`
|
|
- lgpl-3.0-or-later
|
|
- lgpl-3.0+ # Deprecated ID for `lgpl-3.0-or-later`
|
|
- agpl-1.0-or-later
|
|
- agpl-3.0-only
|
|
- agpl-3.0 # Deprecated ID for `agpl-3.0-only`
|
|
- agpl-3.0-or-later
|
|
- fsfap
|
|
- apache-2.0
|
|
- artistic-2.0
|
|
- clartistic
|
|
- sleepycat
|
|
- bsl-1.0
|
|
- bsd-3-clause
|
|
- cecill-2.0
|
|
- bsd-3-clause-clear
|
|
# "Cryptix General License" - no SPDX ID (https://github.com/spdx/license-list-XML/issues/456)
|
|
- ecos-2.0
|
|
- ecl-2.0
|
|
- efl-2.0
|
|
- eudatagrid
|
|
- mit
|
|
- bsd-2-clause # Subsumed by `bsd-2-clause-views`
|
|
- bsd-2-clause-netbsd # Deprecated ID for `bsd-2-clause`
|
|
- bsd-2-clause-views # This is the version linked from https://www.gnu.org/licenses/license-list.html#FreeBSD
|
|
- bsd-2-clause-freebsd # Deprecated ID for `bsd-2-clause-views`
|
|
- ftl
|
|
- hpnd
|
|
- imatix
|
|
- imlib2
|
|
- ijg
|
|
# "Informal license" - this is a general class of license
|
|
- intel
|
|
- isc
|
|
- mpl-2.0
|
|
- ncsa
|
|
# "License of Netscape JavaScript" - no SPDX ID
|
|
- oldap-2.7
|
|
# "License of Perl 5 and below" - possibly `Artistic-1.0-Perl` ?
|
|
- cc0-1.0
|
|
- cc-pddc
|
|
- psf-2.0
|
|
- ruby
|
|
- sgi-b-2.0
|
|
- smlnj
|
|
- standardml-nj # Deprecated ID for `smlnj`
|
|
- unicode-dfs-2015
|
|
- upl-1.0
|
|
- unlicense
|
|
- vim
|
|
- w3c
|
|
- wtfpl
|
|
- lgpl-2.0-or-later with wxwindows-exception-3.1
|
|
- wxwindows # Deprecated ID for `lgpl-2.0-or-later with wxwindows-exception-3.1`
|
|
- x11
|
|
- xfree86-1.1
|
|
- zlib
|
|
- zpl-2.0
|
|
- zpl-2.1
|
|
# The following are based on individual license text
|
|
- eupl-1.2
|