-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (27 loc) · 758 Bytes
/
action.yml
File metadata and controls
31 lines (27 loc) · 758 Bytes
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
name: 'Markdown frontmatter index'
description:
'Generates a json index of frontmatter extracted from markdown files'
author: 'shmatt'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'align-right'
color: 'orange'
# Define your inputs here.
inputs:
pattern:
description: 'A glob pattern matching the files to parse for frontmatter'
required: false
default: '**/*.md'
output:
description: 'The path to write the json file to'
required: false
default: 'index.json'
# Define your outputs here.
outputs:
indexPath:
description: 'The path to the generated index file'
json:
description: 'The json index object as a string'
runs:
using: node20
main: dist/index.js