-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
29 lines (29 loc) · 881 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
name: 'anyone-validate-json'
author: 'Zhang Nan ([email protected])'
branding:
icon: user-check
color: orange
description: 'This action helps you to validate JSON syntax in a specified directory. And write back with formatted content.'
inputs:
file-extension:
description: 'file extension that you want to read. such as "config" or "xml". split with comma.'
required: false
default: 'xml'
ignore-files:
description: 'the files you want to ignore. split with comma.'
required: false
default: ''
ignore-directories:
description: 'the directories you want to ignore. split with comma.'
required: false
default: ''
read-path:
description: 'the path that you assign to read.'
required: true
default: ''
outputs:
output:
description: 'output of execution'
runs:
using: 'node12'
main: 'dist/action/index.js'