This action runs npm audit.
The minimum severity level of a vulnerability that will cause the action to fail. Default "low"
.
A string, that if found in a vulnerability title will cause the action to fail.
on:
pull_request:
types: [opened, synchronize]
jobs:
npm_audit_job:
runs-on: ubuntu-latest
name: npm audit action
steps:
- name: Checkout
uses: actions/checkout@v3
- name: npm audit action step
uses: liorfrank/[email protected]
with:
severity: 'high'
title: 'Injection'