zheng-bote/TOC Generator

GitHub Action to generate TOC.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENSecret GitHub API token used to make API requests or git authentication.no${{ github.token }}
API_TOKENSecret GitHub API token used to make API requests.no
SIGNOFFAdd `Signed-off-by` line by the committer at the end of the commit log message.no
TARGET_PATHSTarget file path. (Comma separated, @see https://github.com/thlorenz/doctoc#adding-toc-to-individual-files)noREADME*.md
TOC_TITLETOC Titleno**Table of Contents**
FOLDINGWhether to fold.no
MAX_HEADER_LEVELMax header level.no
ENTRY_PREFIXEntry prefix.no
OPENING_COMMENTOpening comment (for other than DocToc)no<!-- toc
CLOSING_COMMENTClosing comment (for other than DocToc)no<!-- tocstop
SKIP_COMMENTSkip commentno
HTML_MODEWhether it is html mode (deprecated).no
HTML_TEMPLATEHtml template for html mode (deprecated)no<p align="center">${ITEMS}</p>
CUSTOM_MODEWhether it is custom mode.no
CUSTOM_TEMPLATECUSTOM template for custom modeno
ITEM_TEMPLATEItem template for custom modeno<a href="${LINK}">${TEXT}</a>
SEPARATORSeparator for custom modeno<span>|</span>
FOOTERFooterno
COMMIT_MESSAGECommit message.nochore(docs): update TOC
COMMIT_NAMEGit commit name.no""
COMMIT_EMAILGit commit email.no""
CREATE_PRWhether to create PullRequest.no
CHECK_ONLY_DEFAULT_BRANCHWhether to check only default branch.no
PR_BRANCH_PREFIXPullRequest branch prefix.notoc-generator/
PR_BRANCH_NAMEPullRequest branch name.noupdate-toc-${PR_ID}
PR_TITLEPullRequest title.nochore(docs): update TOC (${PR_MERGE_REF})
PR_BODYPullRequest body.no## Base PullRequest ${PR_TITLE} (${PR_NUMBER_REF}) ## Command results <details> <summary>Details: </summary> ${COMMANDS_OUTPUT} </details> ## Changed files <details> <summary>${FILES_SUMMARY}: </summary> ${FILES} </details> <hr> [:octocat: Repo](${ACTION_URL}) | [:memo: Issues](${ACTION_URL}/issues) | [:department_store: Marketplace](${ACTION_MARKETPLACE_URL})
PR_COMMENT_BODYPullRequest body.no## Command results <details> <summary>Details: </summary> ${COMMANDS_OUTPUT} </details> ## Changed files <details> <summary>${FILES_SUMMARY}: </summary> ${FILES} </details> <hr> [:octocat: Repo](${ACTION_URL}) | [:memo: Issues](${ACTION_URL}/issues) | [:department_store: Marketplace](${ACTION_MARKETPLACE_URL})
PR_DEFAULT_BRANCH_PREFIXPullRequest branch prefix for default branch.no""
PR_DEFAULT_BRANCH_NAMEPullRequest branch name for default branch.no""
PR_DEFAULT_BRANCH_TITLEPullRequest title for default branch.no""
PR_DEFAULT_BRANCH_BODYPullRequest body for default branch.no""
PR_CLOSE_MESSAGEMessage body when closing PullRequest.noThis PR has been closed because it is no longer needed.
TARGET_BRANCH_PREFIXFilter by branch name. (e.g. release/)no""
INCLUDE_LABELSLabels used to check if the PullRequest has it.no""

no outputs