forked from tokusumi/markdown-embed-code
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
37 lines (37 loc) · 1.05 KB
/
action.yaml
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
name: Markdown Embed Code From File Update
author: "@cgalliva"
description: Action to synchronize "any" code in markdown with an external file. No more managing code as plain text.
inputs:
token:
description: Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}
required: true
markdown:
description: Target markdown file path.
required: false
default: "README.md"
message:
description: Commit message for action.
required: false
default: "Embedding code into Markdown"
no_change:
description: Issue comment at no changed
required: false
default: "No changes on README!"
output:
description: Output markdown file path. If none, override target file.
required: false
default: ""
silent:
description: "No issue comment in silent mode"
required: false
default: "false"
server:
description: Github server URL
required: false
default: ${{ github.server_url || 'https://github.com' }}
runs:
using: docker
image: Dockerfile
branding:
icon: bookmark
color: green