Skip to content

Commit 574cebc

Browse files
committed
Filter alerts by open state
1 parent 5e5f996 commit 574cebc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dependabot/verified_commits.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function getAlert (name: string, version: string, directory: string
6060
const alerts: any = await client.graphql(`
6161
{
6262
repository(owner: "${context.repo.owner}", name: "${context.repo.repo}") {
63-
vulnerabilityAlerts(first: 100) {
63+
vulnerabilityAlerts(first: 100, states: [OPEN]) {
6464
nodes {
6565
vulnerableManifestFilename
6666
vulnerableManifestPath

0 commit comments

Comments
 (0)