-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
59 lines (45 loc) · 1.04 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ==============
# MARKDOWN SLOTS
# ==============
name: markdown-slots
author: Shresht7
description: A GitHub Action to dynamically place content in markdown slots
runs:
using: node16
main: dist/index.js
branding:
icon: align-left
color: white
# Inputs
# ======
inputs:
# File Paths
# ==========
src:
description: Path to the source file with markdown-slots (can be a URL)
default: ./README.md
required: false
dest:
description: Desired output path for the generated content
default: ./README.md
required: false
# Slots
# =====
slots:
description: stringified YAML array mapping slot-names to content
required: true
remove-slots:
description: Boolean to determine if this action should remove slot tags upon replacement
default: "false"
required: false
# Miscellaneous
# =============
dry-run:
description: Boolean to determine if this is a dry-run
default: "false"
required: false
# Outputs
# =======
outputs:
contents:
description: Generated markdown content