feat: Adjusts the formatting and content for the status header

This commit is contained in:
David Losert
2023-02-22 14:05:52 +00:00
committed by GitHub
parent 23c92ea3fe
commit 19ee172e7e
5 changed files with 244 additions and 32 deletions
+1 -4
View File
@@ -54,10 +54,7 @@ async function run(): Promise<void> {
}
)
summary.addSummaryToSummary(
config.vulnerability_check ? addedChanges : null,
config.license_check ? invalidLicenseChanges : null
)
summary.addSummaryToSummary(addedChanges, invalidLicenseChanges, config)
if (config.vulnerability_check) {
summary.addChangeVulnerabilitiesToSummary(addedChanges, minSeverity)