
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
action-docs
Advanced tools
This cli let you generate, and update document for GitHub actions based on the action definition yml.
npm install -g action-docs
cd <your github action>
# write docs to console
action-docs
# update reamde
action-ducs --update-readme
The following options are available via the CLI
Options:
--help Show help [boolean]
--version Show version number [boolean]
-t, --toc-level TOC level used for markdown
[number] [required] [default: 2]
-a, --action GitHub action file [string] [default: "action.yml"]
--no-banner Print no banner
-u, --update-readme Update readme file. [string]
action-docs
action-docs --update-readme
action-docs --action ./action.yaml
action-docs --action ./some-dir/action.yml --toc-level 3 --update-readme docs.md
import { generateActionMarkdownDocs } from 'action-docs'
await generateActionMarkdownDocs({
actionFile: 'action.yml'
tocLevel: 2
updateReadme: true
readmeFile: 'README.md'
});
FAQs
Generate GitHub action docs based on action.yml
The npm package action-docs receives a total of 1,473 weekly downloads. As such, action-docs popularity was classified as popular.
We found that action-docs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.