Skip to content

Commit

Permalink
refactor: Log release filtering caused by vulnerability alert (#29997)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Jul 2, 2024
1 parent 74aa3d7 commit 7b4798c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/workers/repository/process/lookup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ export async function lookupUpdates(
);
if (config.isVulnerabilityAlert) {
filteredReleases = filteredReleases.slice(0, 1);
logger.debug(
{ filteredReleases },
'Vulnerability alert found: limiting results to a single release',
);
}
const buckets: Record<string, [Release]> = {};
for (const release of filteredReleases) {
Expand Down

0 comments on commit 7b4798c

Please sign in to comment.