Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
action-docs
Advanced tools
This cli let you generate, and update document for GitHub actions based on the action definition yml.
Generate docs via cli.
npm install -g action-docs
cd <your github action>
# write docs to console
action-docs
# update reamde
action-ducs --update-readme
Update your README.md
## Add the following comment blocks to your README.md
<!-- terraform-docs-description -->
<!-- terraform-docs-inputs -->
<!-- terraform-docs-outputs -->
<!-- terraform-docs-runs -->
## Run the cli
action-docs -u
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 can update your README based on the action.yml
. The following sections can be updated: description, inputs, outputs and runs. Add the following tags to your README and run actiond-docs -u
.
<!-- terraform-docs-description -->
<!-- terraform-docs-inputs -->
<!-- terraform-docs-outputs -->
<!-- terraform-docs-runs -->
For updating other Markdown files add the name of the file to the command action-docs -u <file>
.
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'
});
We welcome contribution, please checkout the contribution guide.
This project are released under the MIT License.
FAQs
Generate GitHub action docs based on action.yml
The npm package action-docs receives a total of 566 weekly downloads. As such, action-docs popularity was classified as not 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.