Skip to content

Commit

Permalink
'allow-dependencies-licenses' attribute only supports single-line text
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 15, 2024
1 parent ce7d632 commit 45ca6d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
# Incompatible licenses addressed here: https://www.apache.org/legal/resolved.html
# Special notice for GPL licenses: https://www.apache.org/licenses/GPL-compatibility.html
# Find SPDX identifiers here: https://spdx.org/licenses/
deny-licenses: |
deny-licenses: >
MS-LPL, BUSL-1.1,
CC-BY-NC-1.0, CC-BY-NC-2.0, CC-BY-NC-2.5, CC-BY-NC-3.0, CC-BY-NC-4.0,
GPL-1.0, GPL-2.0, GPL-3.0, AGPL-3.0, LGPL-2.0, LGPL-2.1, LGPL-3.0,
GPL-1.0-only, GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only, LGPL-2.0-only, LGPL-2.1-only, LGPL-3.0-only,
QPL-1.0, Sleepycat, SSPL-1.0, CPOL-1.02,
BSD-4-Clause, BSD-4-Clause-UC, NPL-1.0, NPL-1.1, JSON
# Artifacts with multiple licenses, where at least one license is compatible with Apache 2.0, are allowed.
allow-dependencies-licenses: |
'pkg:maven/com.rabbitmq/amqp-client, pkg:maven/ch.qos.logback/logback-classic, pkg:maven/ch.qos.logback/logback-core,
pkg:maven/javax.xml.stream/stax-api'
allow-dependencies-licenses: >
pkg:maven/com.rabbitmq/amqp-client,
pkg:maven/ch.qos.logback/logback-classic, pkg:maven/ch.qos.logback/logback-core,
pkg:maven/javax.xml.stream/stax-api

0 comments on commit 45ca6d6

Please sign in to comment.