Adjusted output

This commit is contained in:
Stefan Petrushevski
2023-04-06 10:04:48 +02:00
parent d3fdbc93c5
commit 39dca1ce09
4 changed files with 8 additions and 51 deletions
+5 -7
View File
@@ -144,13 +144,11 @@ export function addLicensesToSummary(
)
}
if (config.allow_dependencies_licenses) {
core.summary.addHeading('Allowed licensing exceptions', 3)
for (const [ecosystem, dependencies] of Object.entries(
config.allow_dependencies_licenses
)) {
core.summary.addRaw(`<li> ${ecosystem}</strong>: ${dependencies} </li>`)
}
core.summary.addQuote(
`<strong>Excluded from license check</strong>: ${config.allow_dependencies_licenses.join(
', '
)}`
)
}
core.debug(