forked from karancode/yamllint-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
39 lines (39 loc) · 1.03 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
---
# action.yaml
name: 'Yamllint Github Action'
author: 'karancode <[email protected]>'
description: 'Github action for Yamllint - manily to liniting yaml files for k8s config'
branding:
icon: 'sliders'
color: 'green'
inputs:
yamllint_file_or_dir:
description: 'File or Directory to do yamllint on'
required: false
default: '.'
yamllint_strict:
description: 'Use Strict'
required: false
default: '0'
yamllint_config_filepath:
description: 'Custom yamllint config path'
required: false
default: '' # using default
yamllint_config_datapath:
description: 'Custom configuration (as YAML source)'
required: false
default: '' # using default
yamllint_format:
description: 'format for parsing output'
required: false
default: '' # using default
yamllint_comment:
description: 'Comment yamllint output'
required: false
default: 'false'
outputs:
yamllint_output:
description: 'Output of yamllint'
runs:
using: 'docker'
image: 'Dockerfile'