forked from OrRosenblatt/validate-json-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
20 lines (20 loc) · 688 Bytes
/
action.yml
File metadata and controls
20 lines (20 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: 'Validate JSON'
description: 'GitHub Action: Validate JSON'
author: 'Or Rosenblatt'
inputs:
schema:
description: 'Relative file path under the repository of a JSON schema file to validate the other JSON files with.'
required: true
default: './schema.json'
json:
description: 'One or more relative file paths under the repository (seperated by comma) of the JSON files to validate with the schema provided.'
required: true
outputs:
invalid:
description: 'One or more of relative file paths of the invalid JSON files, found in the repository (seperated by comma).'
runs:
using: 'node12'
main: 'lib/main.js'
branding:
icon: 'check'
color: purple