generated from tangro/tangro-actions-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (22 loc) · 744 Bytes
/
action.yml
File metadata and controls
24 lines (22 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: 'Tangro Audit'
description: 'Run npm audit'
author: 'tangro'
inputs:
post-comment:
description: 'Set to true to post a comment after the audit result has been collected. Default false'
default: false
workingDirectory:
description: 'Set the working directory'
default: ''
actionName:
description: 'Set different action (and output directory) name. This is needed if the action is used more than once in a repo.'
default: 'audit'
production:
description: 'Set to true to not run on devDependencies.'
default: false
outputs:
vulnerabilities:
description: '{ info: number, low: number, moderate: number, high: number, critical: number }'
runs:
using: 'node20'
main: 'dist/index.js'