Skip to content

Commit

Permalink
dependabotNudge: filter nudges for available patched versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Feb 6, 2024
1 parent 8a3b543 commit cc5f2b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dependabotNudge.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ export default async function dependabotNudge({
sort: 'updated',
state: 'open',
severity: Object.keys(Severity).filter(s => Severity[s] >= minlevel)
})).filter(a => !skipHotwords.some(h => a.security_advisory.summary.toLowerCase().includes(h)));
})).filter(a => !skipHotwords.some(h => a.security_advisory.summary.toLowerCase().includes(h))).
filter(a => a.security_vulnerability?.first_patched_version?.identifier);

// get property values for this repository
const prop = props[repo.name] || {properties: {}};
Expand Down

0 comments on commit cc5f2b2

Please sign in to comment.