oke-py/npm audit action

run npm audit

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
audit_levelThe value of `--audit-level` flagnolow
create_issuesFlag to create issues when vulnerabilities are foundnotrue
create_pr_commentsFlag to create pr comments when vulnerabilities are foundnotrue
fail_on_vulnerabilitiesFail the action when vulnerabilities are foundnotrue
dedupe_commentsSkip commenting on the existing issue when the report is unchanged from the last one posted by this action. Effective only with dedupe_issuesnofalse
dedupe_issuesFlag to de-dupe against open issuesnofalse
github_tokenGitHub Access Token.yes
ignore_ghsasGHSA advisory IDs to exclude from the pass/fail decision (comma, space, or newline separated). If every advisory found is ignored, the action reports no vulnerabilities and creates no issue or commentno
issue_assigneesIssue assignees (separated by commma)no
issue_labelsIssue labels (separated by commma)no
issue_titleIssue titlenonpm audit found vulnerabilities
issue_typeIssue type (e.g. Bug, Task). Requires issue types to be enabled on the organizationno
json_flagRun `npm audit` with `--json`nofalse
production_flagRun `npm audit` with `--omit=dev`nofalse
report_formatFormat of the report posted to issues and PR comments: text (npm audit output in a code block) or markdown (summary and table built from the JSON report; forces `--json`)notext
resolve_pr_commentsEdit previous report comments on the pull request to mark them resolved when vulnerabilities are no longer found. Effective only with create_pr_commentsnofalse
registryThe registry URL passed to `npm audit` via the `--registry` flag (e.g. https://registry.npmjs.org)no
working_directoryThe directory which contains package.jsonno
namedescription
npm_auditThe output of the npm audit report in a text format