2019-10-16 11:13:43 +02:00
|
|
|
name: 'YAML Lint'
|
2019-10-16 10:43:28 +02:00
|
|
|
description: 'Validate YAML syntax'
|
|
|
|
author: 'ibiqlik'
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
file_or_dir:
|
2019-12-17 14:15:23 +01:00
|
|
|
description: 'File(s) or Directory, separate by space if multiple files or folder are specified'
|
2020-10-22 12:23:39 +02:00
|
|
|
required: false
|
2019-10-16 10:43:28 +02:00
|
|
|
config_file:
|
|
|
|
description: 'Path to custom configuration'
|
|
|
|
required: false
|
|
|
|
config_data:
|
|
|
|
description: 'Custom configuration (as YAML source)'
|
|
|
|
required: false
|
|
|
|
format:
|
2020-10-22 12:23:39 +02:00
|
|
|
description: 'Format for parsing output [parsable,standard,colored,github,auto]'
|
2019-10-16 10:43:28 +02:00
|
|
|
required: false
|
2020-10-22 12:23:39 +02:00
|
|
|
default: "github"
|
2019-10-16 10:43:28 +02:00
|
|
|
strict:
|
|
|
|
description: 'Return non-zero exit code on warnings as well as errors'
|
|
|
|
required: false
|
2019-12-17 14:15:23 +01:00
|
|
|
default: "false"
|
2019-10-16 10:43:28 +02:00
|
|
|
|
|
|
|
runs:
|
|
|
|
using: 'docker'
|
2020-02-28 10:14:09 +01:00
|
|
|
image: 'Dockerfile'
|
2019-12-17 12:47:12 +01:00
|
|
|
args:
|
|
|
|
- ${{ inputs.file_or_dir }}
|
|
|
|
- ${{ inputs.config_file }}
|
|
|
|
- ${{ inputs.config_data }}
|
|
|
|
- ${{ inputs.format }}
|
|
|
|
- ${{ inputs.strict }}
|
2019-10-16 11:13:43 +02:00
|
|
|
|
|
|
|
branding:
|
|
|
|
color: blue
|
|
|
|
icon: check-square
|