Action fails always if vulnerabilities are found (#35)

This commit is contained in:
Naoki Oketani
2020-01-09 18:59:40 +09:00
committed by GitHub
parent 4894ae0aad
commit 02cdae80b6
2 changed files with 2 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ export async function run(): Promise<void> {
...option
})
core.debug(`#${createdIssue.number}`)
core.setFailed('This repo has some vulnerabilities')
}
}
} catch (error) {