actions-marketplace-validations/npm-audit

Action to run npm audit, and create pull request with fixes

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 14, 2020
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/luisfontes19_npm-audit-action@447e4d42dd060e6138eccbe55dc43b67f6424100 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGithub Token to create the pull requestsyes""
only[NPM PARAM] Specify if only wants to fix 'dev' or 'prod' issues. If not specify will use allno""
level[NPM PARAM] Audit level. Allowed values are: low|moderate|high|critical.no""
fix[NPM PARAM] Use this parameter if you want to automate a fix for the found issuesnofalse
package-lock-only[NPM PARAM] nofalse
force[NPM PARAM] Force the fixes even if they can create issuesnofalse
json[NPM PARAM] JSON outputnofalse
git-userGit user config to commit the changes of a fixnoaction-npm-audit
git-emailGit email config to commit the changes of a fixnoaction-npm-audit
git-messageGit commit messagenonpm fix run from npm-audit action
git-pr-titleGit Pull Request Titleno[SECURITY] NPM audit fix
git-branchGit branch to where commit the fixesnonpm-audit-action
git-remoteGit remote name to where create the PRnoorigin
project-pathThe path to the npm projectno.

no outputs