Skip to content

This is a fork of "liorfrank/npm_audit_action" to stop deployment if a specified vulnerability label is found, with security updates

Notifications You must be signed in to change notification settings

greenactionstudio/npm_audit_action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm_audit_action

This action runs npm audit.

Inputs

severity

The minimum severity level of a vulnerability that will cause the action to fail. Default "low".

title

A string, that if found in a vulnerability title will cause the action to fail.

Example usage

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'

About

This is a fork of "liorfrank/npm_audit_action" to stop deployment if a specified vulnerability label is found, with security updates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%