-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (36 loc) · 1.08 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
31
32
33
34
35
36
name: 'Run gherkin-lint'
description: "A GitHub Action to parse feature files and run linting using gherkin-lint"
author: 'nhatthm'
inputs:
version:
description: "Version of gherkin-lint to use in the `npm install -g gherkin-lint` command. Default to `latest`"
required: false
default: 'latest'
feature_files:
description: 'Comma separated list of feature files/glob patterns'
required: false
default: '.'
config_file:
description: 'Configuration file'
required: false
default: '/root/.gherkin-lintrc'
format:
description: 'Output format. Possible values: json, stylish, xunit. Default to `stylish`'
required: false
default: 'stylish'
ignore:
description: 'Comma seperated list of files/glob patterns that the linter should ignore, overrides .gherkin-lintignore file'
required: false
default: ''
rule_dirs:
description: 'Comma seperated list of additional rule directories'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- "run-gherkin-lint"
branding:
icon: "shield"
color: "yellow"