-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
33 lines (33 loc) · 983 Bytes
/
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
name: "Iglu Schema Lint"
description: "Validate Iglu JSON Schemas for syntax errors."
author: "Hrusikesh Panda <[email protected]>"
branding:
icon: "feather"
color: "gray-dark"
inputs:
path_to_schemas:
description: "Folder where schemas are stored. You can pass globs that bash shell can evaluate."
required: true
github_token:
description: "GITHUB_TOKEN"
required: true
skip_checks:
description: "Comma separated list of checks to skip with Igluctl."
default: "description,rootObject"
base_branch:
description: "Base branch for the Pull Request. Defaults to master."
required: false
default: "master"
level:
description: "Logging level [info,error]. Defaults to error"
required: false
default: "error"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.path_to_schemas }}
- ${{ inputs.github_token }}
- ${{ inputs.skip_checks }}
- ${{ inputs.base_branch }}
- ${{ inputs.level }}