omarabid-archived/TOC Generator

GitHub Action to generate TOC.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
GITHUB_TOKENSecret GitHub API token used to make API requests or git authentication.yes${{ github.token }}
API_TOKENSecret GitHub API token used to make API requests.no
TARGET_PATHSTarget file path. (Comma separated, @see https://github.com/thlorenz/doctoc#adding-toc-to-individual-files)yesREADME*.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
COMMIT_MESSAGECommit message.yesdocs: update TOC
COMMIT_NAMEGit commit name.no""
COMMIT_EMAILGit commit email.no""
CREATE_PRWhether to create PullRequest.notrue
PR_BRANCH_PREFIXPullRequest branch prefix.yestoc-generator/
PR_BRANCH_NAMEPullRequest branch name.yesupdate-toc-${PR_ID}
PR_TITLEPullRequest title.yesdocs: update TOC (${PR_MERGE_REF})
PR_BODYPullRequest body.yes## 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