-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
40 lines (38 loc) · 994 Bytes
/
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
name: 'NCM Report'
description: 'Generates a project-wide report of directory risk and quality of installed or specified packages.'
inputs:
token:
description: 'Set a NodeSource service token'
required: true
long:
description: 'Make a report with a list of all modules'
required: false
default: 'no'
compliance:
description: 'Only display non-compliant packages'
required: false
default: 'no'
security:
description: 'Only display packages with vulnerabilities'
required: false
default: 'no'
github_token:
description: 'Send a Github Token'
required: true
default: ''
github_job_name:
description: 'Set the name of the job'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.long }}
- ${{ inputs.compliance }}
- ${{ inputs.security }}
- ${{ inputs.github_token }}
- ${{ inputs.github_job_name }}
branding:
icon: 'layers'
color: 'green'