This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
85 lines (76 loc) · 2.57 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: 'tbdocs'
description: 'Provide a description here'
author: 'TBD54566975'
inputs:
entry_points:
description:
'List of each project you want to run tbdocs against (YAML format)'
required: false
default: |
- file: src/index.ts
docsReporter: api-extractor
docsGenerator: typedoc-markdown
# entry point yaml fields:
# file: path to the entry point file
# docsReporter: name of the docs reporter tool
# docsReporterIgnore: list of errors to ignore `extractor:ae-missing-release-tag`, `docs:tsdoc-param-tag-with-invalid-name`, etc.
# docsGenerator: name of the docs generator tool
# readmeFile: path to the readme file (eg README.md)
# targetRepoPath: path to push the generated docs in the target repo (see docs_target_owner_repo below)
token:
description: 'Token used to submit comments summary and open PRs'
required: false
# to allow opening PRs across different repos we need an authorized bot app
# you could also use a user PAT in the above token field, but the generated
# comments/PRs will be sent from the user
bot_app_id:
description: 'Bot app id'
required: false
bot_app_private_key:
description: 'Bot app private key (pem format)'
required: false
bot_app_installation_id:
description: 'Bot app installation id'
required: false
# reporter params
report_changed_scope_only:
description: 'Should it report only changed scope?'
required: false
default: 'false'
fail_on_error:
description: 'Should it fail on report errors?'
required: false
default: 'true'
fail_on_warnings:
description: 'Should it fail on report warnings?'
required: false
default: 'false'
group_docs:
description:
'Should it group the generated docs files in the `.tbdocs/docs` folder?'
required: false
default: 'false'
# generated docs params, if you want to open a PR to a different repo with the generated docs
docs_target_owner_repo:
description:
'Target owner/repo for the generated docs PR (skips opening a PR if empty)'
required: false
docs_target_branch:
description: 'Target branch for the generated docs PR'
required: false
default: 'main'
docs_target_pr_base_branch:
description: 'Target base branch for the generated docs PR'
required: false
default: 'main'
# generator params
docs_generator:
description:
'Name of the docs generator tool (skips docs generation if empty)'
required: false
outputs:
report:
description: 'Generated docs report JSON object'
runs:
using: 'docker'
image: 'Dockerfile'