mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-21 22:00:57 -05:00
34 lines
808 B
YAML
34 lines
808 B
YAML
name: 'YAML Lint'
|
|
description: 'Validate YAML syntax'
|
|
author: 'ibiqlik'
|
|
|
|
inputs:
|
|
file_or_dir:
|
|
description: 'File(s) or Directory'
|
|
required: true
|
|
config_file:
|
|
description: 'Path to custom configuration'
|
|
required: false
|
|
config_data:
|
|
description: 'Custom configuration (as YAML source)'
|
|
required: false
|
|
format:
|
|
description: 'Format for parsing output [parsable,standard]'
|
|
required: false
|
|
strict:
|
|
description: 'Return non-zero exit code on warnings as well as errors'
|
|
required: false
|
|
|
|
runs:
|
|
using: 'docker'
|
|
image: 'docker://ilirbekteshi/action-yamllint'
|
|
args:
|
|
- ${{ inputs.file_or_dir }}
|
|
- ${{ inputs.config_file }}
|
|
- ${{ inputs.config_data }}
|
|
- ${{ inputs.format }}
|
|
- ${{ inputs.strict }}
|
|
|
|
branding:
|
|
color: blue
|
|
icon: check-square
|