-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
46 lines (44 loc) · 1.43 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
name: 'Red Hat Helm Chart Certifier'
description: 'Action for Red Hat Helm Chart Certification'
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
chart_uri:
description: URI to Helm Chart to verify. This can be a path to the chart directory, or an http(s) URI.
required: true
report_type:
description: '{all,annotations,digests,metadata,results}'
required: true
default: results
profile_name:
description: |
Chart checks profile to run.
See https://github.com/redhat-certification/chart-verifier/tree/main/config for a list of profiles.
required: false
profile_version:
description: Version of profile_name to run. If profile_name is set but profile_version is not, the latest version is used.
required: false
verify_args:
description: |
Extra arguments to pass to the 'verify' command. See 'chart-verifier verify --help' for more info.
required: false
fail:
description: |
If true, exit with code 1 if at least one check is failed.
Else, always exit with code 0 - ie, never fail the workflow step.
required: false
default: 'true'
outputs:
report_file:
description: Path to the file which contains the report.
report_info_file:
description: Path to the file containing report information.
passed:
description: Number of checks passed.
failed:
description: Number of checks failed.
runs:
using: 'node20'
main: 'dist/index.js'