mirror of
https://github.com/karancode/yamllint-github-action.git
synced 2024-08-16 10:19:48 +02:00
38 lines
1 KiB
YAML
38 lines
1 KiB
YAML
# action.yaml
|
|
name: 'Yamllint Github Action'
|
|
author: 'karancode <karanthanvi0@gmail.com>'
|
|
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: '0'
|
|
outputs:
|
|
yamllint_output:
|
|
description: 'Output of yamllint'
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|