-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (53 loc) · 1.34 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
50
51
52
53
# action.yml
name: 'Impilo team utility'
description: 'Get various data about code like vulnerabilities and license usage.'
inputs:
project-name:
description: 'Name of the project'
required: false
default: 'app'
type: string
config-file:
description: 'Config file. Default: impilo.yml'
required: false
default: impilo.yml
type: string
use-config-file:
description: 'Ignore any config file'
required: false
default: 'false'
type: boolean
target-directory:
description: 'Directory where the project file is found'
required: false
default: ''
type: string
package-manager:
description: 'Package manager eg. npm, nuget'
required: false
default: 'npm'
type: string
skip-scan-vulnerabilities:
description: 'Vulnerabilities should be scanned'
required: false
default: 'false'
type: boolean
scan-licenses:
description: 'Licenses should be scanned'
required: false
default: 'false'
type: boolean
outputs:
config-file:
description: 'Foo - remove'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.project-name }}
- ${{ inputs.config-file }}
- ${{ inputs.use-config-file }}
- ${{ inputs.target-directory }}
- ${{ inputs.package-manager }}
- ${{ inputs.skip-scan-vulnerabilities }}
- ${{ inputs.scan-licenses }}