forked from oke-py/npm-audit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
49 lines (49 loc) · 1.32 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 'npm audit action'
description: 'run npm audit'
author: 'Naoki Oketani <okepy.naoki@gmail.com>'
inputs:
audit_level:
description: 'The value of `--audit-level` flag'
default: low
required: false
production_flag:
description: 'Run npm audit with --production'
default: 'false'
required: false
json_flag:
description: 'Run npm audit with --json'
default: 'false'
required: false
github_context:
description: 'The `github` context'
default: ${{ toJson(github) }}
required: false
github_token:
description: 'GitHub access token used to create an issue'
required: true
issue_assignees:
description: 'Issue assignees (separated by commma)'
required: false
issue_labels:
description: 'Issue assignees (separated by commma)'
required: false
issue_title:
description: 'Issue title'
default: 'npm audit found vulnerabilities'
required: false
working_directory:
description: 'The directory which contains package.json (since v1.4.0)'
required: false
dedupe_issues:
description: 'Flag to de-dupe against open issues'
default: 'false'
required: false
outputs:
npm_audit:
description: 'The output of the npm audit report in a text format'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'search'
color: 'orange'