forked from babarot/action-conftest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
39 lines (39 loc) · 1.01 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
name: 'conftest-fork'
description: 'Run conftest test command'
inputs:
path:
description: 'Path to directory where config files are located'
required: false
default: '.'
policy:
description: 'Path to the Rego policy files directory'
required: false
default: 'policy'
files:
description: 'A list of config file to be tested by conftest. Separated by a space'
required: false
default: ''
matches:
description: 'A list of cases to be tested (e.g. "*.yaml *.json"). Separated by a space'
required: false
default: ''
namespace:
description: 'Namespace name running with conftest testing'
required: false
default: ''
all_namespaces:
description: 'Enable --all-namespaces flag'
required: false
default: false
output_format:
description: conftest output format
required: false
default: stdout
outputs:
result:
description: 'Outputs of conftest command'
exit:
description: exit code
runs:
using: 'docker'
image: 'Dockerfile'