-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yml
34 lines (34 loc) · 827 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
34
name: 'json2table'
description: 'json to html table'
branding:
icon: 'code'
color: 'orange'
inputs:
columns:
description: 'how many columns'
required: false
default: '2'
json-file-path:
description: 'json file to load'
required: true
default: 'data.json'
github-token:
description: 'github token'
required: true
html-cell:
description: 'html for the table cell'
required: true
object-field-names:
description: 'array of object field names from your json objects'
required: true
file-to-use:
description: 'file to push the changes to'
required: false
default: 'README.md'
section-name:
description: 'section name to add the table to in the file'
required: false
default: 'data-section'
runs:
using: 'node20'
main: 'dist/index.js'