-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
41 lines (41 loc) · 1.17 KB
/
action.yaml
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
37
38
39
40
41
# action.yml
name: 'ok-validate'
description: 'Use an Open Knowledge Framework schema to validate your manifest'
branding:
icon: check-circle
color: green
inputs:
cpu-num:
description: 'How many cores to use'
required: false
default: '4'
file-restrictions:
description: 'For a given path or directory, only process these (space separated) files. Useful for pull requests.'
required: false
default: ''
ok:
description: 'Which preset Open Knowledge Framework schema to use for validation. Should be one of ("okh")'
required: false
default: 'okh'
parser:
description: 'YAML library to load file'
required: false
default: 'pyyaml'
path:
description: 'The path to your manifest(s) relative to your workspace'
required: true
default: './'
schema:
description: 'The full path to an Open Knowledge Framework schema or custom schema to use for validation'
required: false
default: ''
strict:
description: 'Should the schema validator be run in strict mode?'
required: false
default: 'false'
outputs:
results:
description: 'The results of the validator'
runs:
using: 'docker'
image: 'Dockerfile'