Merge pull request #750 from actions/juxtin/fix-deny-icon

Show denied packages with red X
This commit is contained in:
Justin Holguín
2024-04-24 15:37:25 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -1184,7 +1184,7 @@ function addSummaryToSummary(vulnerableChanges, invalidLicenseChanges, deniedCha
: []),
...(deniedChanges.length > 0
? [
`${checkOrWarnIcon(deniedChanges.length)} ${deniedChanges.length} package(s) denied.`
`${checkOrFailIcon(deniedChanges.length)} ${deniedChanges.length} package(s) denied.`
]
: []),
...(config.show_openssf_scorecard && scorecardWarnings > 0
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -69,7 +69,7 @@ export function addSummaryToSummary(
: []),
...(deniedChanges.length > 0
? [
`${checkOrWarnIcon(deniedChanges.length)} ${
`${checkOrFailIcon(deniedChanges.length)} ${
deniedChanges.length
} package(s) denied.`
]