-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
23 lines (23 loc) · 1019 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
name: 'kube-score check'
description: 'Uses the kube-score analysis tool to perform static code analysis of your Kubernetes object definitions'
branding:
icon: 'box'
color: 'blue'
inputs:
kube-score-version:
description: 'kube-score version to use'
required: false
default: '' # Latest default version
manifests-folders:
description: 'Array of relative paths to execute kube-score with (separated with commas). It is mandatory to establish a wildcard for the files or the concrete filename.'
required: true
ignore-exit-code:
description: 'Ignore exit code from kube-score and continue on error (for information purposes only)'
required: false
default: 'false' # Not to ignore exit code
output-file:
description: 'Generate an output file with the results of kube-score analysis for each manifest file (instead of printing in the standard output). Each analysis is separated by a text block.'
default: '' # No output file
runs:
using: 'node16'
main: 'lib/index.js'