Skip to content

npalm/action-docs-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-docs-action status

Action to update action documentation

This action wraps action-docs to update action documentation. By default the action will update README.md based on the the action.yml. See the parameters for changing the defaults.

Usages

The action will update you readme by replacing html comment tags. Add one of more tags based on the following template to your repo: <!-- action-docs-(description | inputs | outputs | runs --> to add the corresponding section.

  • description : to add/update a section with a descriptions of the action
  • inputs: to add/update a section with inputs of the action
  • outpus: to add/update a section with outputs of the action
  • runs: : to add/update a section of the environment required to run.

In your workflow add the action, see below for the available parameters.

      - uses: npalm/action-docs-action

The action will not commit any change, to ensure the changes are persisted you can use an action to commit or raise a pull request.

Inputs

parameter description required default
readme Readme file to update. true README.md
actionFile THe action definition file. true action.yml
tocLevel TOC level used for the headers. true 2

Runs

This action is an node12 action.

License

This project are released under the MIT License.