1
0
Fork 0
mirror of https://github.com/karancode/yamllint-github-action.git synced 2024-08-16 10:19:48 +02:00
yamllint/action.yml
Yudai Takada 8aaa73d411
Add to GitHub Actions workflows Linting ourselves with yamllint (#10)
* Linting ourselves in yamllint

* Add to GitHub Actions workflows Linting ourselves with yamllint
2022-12-19 03:00:01 +00:00

39 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: 'false'
outputs:
yamllint_output:
description: 'Output of yamllint'
runs:
using: 'docker'
image: 'Dockerfile'