generated from ebekker/pwsh-github-action-base
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
51 lines (41 loc) · 1.48 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
name: github-docs-to-wiki
author: cmbrose
description: Converts markdown content in a repository into a wiki.
inputs:
githubToken:
description: The GitHub PAT, used to clone the wiki repo
required: true
defaultBranch:
description: The default branch name (master, main, etc)
required: false
rootDocsFolder:
description: A directory within the repository where the docs are located
required: false
convertRootReadmeToHomePage:
description: If true, renames the README.md file to Home.md in the wiki (the wiki homepage)
required: false
default: false
useHeaderForWikiName:
description: If true, names wiki pages according to the top header of the source file (using `#`)
required: false
default: false
customWikiFileHeaderFormat:
description: |
If set, inserts a header at the top of each wiki file with the given format
Supports the following format subsitutions:
- {sourceFileLink}: the absolute url to the source file in the repo
required: false
customCommitMessageFormat:
description: |
If set, uses the given format for the commit message to the wiki. Useful to correlate changes to the source.
Supports the following format subsitutions:
- {commitMessage}: the latest commit message for HEAD
- {shaFull}: the full SHA of HEAD
- {shaShort}: the short SHA of HEAD
required: false
branding:
color: purple
icon: terminal
runs:
using: node12
main: _init/index.js