spelling: summary

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-04-14 22:53:15 -04:00
parent 5975520ad2
commit 247f07b0c8
3 changed files with 7 additions and 7 deletions
Generated Vendored
+5 -5
View File
@@ -847,11 +847,11 @@ function run() {
function printVulnerabilitiesBlock(addedChanges, minSeverity, warnOnly) {
return __awaiter(this, void 0, void 0, function* () {
return core.group('Vulnerabilities', () => __awaiter(this, void 0, void 0, function* () {
let vulFound = false;
let vulnFound = false;
for (const change of addedChanges) {
vulFound || (vulFound = printChangeVulnerabilities(change));
vulnFound || (vulnFound = printChangeVulnerabilities(change));
}
if (vulFound) {
if (vulnFound) {
const msg = 'Dependency review detected vulnerable packages.';
if (warnOnly) {
core.warning(msg);
@@ -863,7 +863,7 @@ function printVulnerabilitiesBlock(addedChanges, minSeverity, warnOnly) {
else {
core.info(`Dependency review did not detect any vulnerable packages with severity level "${minSeverity}" or higher.`);
}
return vulFound;
return vulnFound;
}));
});
}
@@ -1644,7 +1644,7 @@ const icons = {
warning: '⚠️'
};
const MAX_SCANNED_FILES_BYTES = 1048576;
// generates the DR report summmary and caches it to the Action's core.summary.
// generates the DR report summary and caches it to the Action's core.summary.
// returns the DR summary string, ready to be posted as a PR comment if the
// final DR report is too large
function addSummaryToSummary(vulnerableChanges, invalidLicenseChanges, deniedChanges, scorecard, config) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,7 +12,7 @@ const icons = {
const MAX_SCANNED_FILES_BYTES = 1048576
// generates the DR report summmary and caches it to the Action's core.summary.
// generates the DR report summary and caches it to the Action's core.summary.
// returns the DR summary string, ready to be posted as a PR comment if the
// final DR report is too large
export function addSummaryToSummary(