forked from Ant-OSS-Utility-Set/alipay-cloud-devops-codescan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
26 lines (26 loc) · 798 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
name: 'alipay-cloud-devops-codescan'
description: 'Greet someone and record the time'
inputs:
parent_uid: # id of input
description: 'a param to get token'
required: true
private_key: # id of input
description: 'another param to get token'
required: true
scan_type: # type of input
description: 'stc for security check , sca for open source compliance check'
required: true
tips: # prompt
description: 'prompt tips'
required: false
default: ' '
cybersec_token: # cybersec_token
description: 'token for cybersec'
required: false
default: ' '
outputs:
result: # id of output
description: 'code scan passed or not'
runs:
using: 'node16'
main: 'dist/index.js'