-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
30 lines (29 loc) · 1.12 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
name: "csvlinter"
description: "Lint your delimited files including comma (csv), tab separated etc using csvlint"
author: "kcheriyath"
inputs:
file_list: # id of input
description: "(optional) when defined, linter will use this file list only and find* parameters are ignored. Use as a static list or with jitterbit/get-changed-files to check only new files."
required: false
find_path: # id of input
description: "(optional) when defined, find command is used to search for csv files in the path, relative to project root. defaults to ."
required: false
default: "."
find_pattern: # id of input
description: "(optional) File name or pattern to find. Defaults to *.csv"
required: false
default: "*.csv"
extra_params: # id of input
description: "(optional) extra parameters passed to the csvlint command. see usage in README."
required: false
default: "--lazyquotes"
fail_on_error: # id of input
description: "(optional) Should action fail on error"
required: false
default: "true"
branding:
icon: "file-plus"
color: "green"
runs:
using: "docker"
image: "Dockerfile"