-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: support multiple actions in a single readme (#505)
update - deps - tests - table format - use HTML for descriptions
- Loading branch information
Showing
31 changed files
with
3,909 additions
and
4,385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: 'Action update docs action' | ||
description: 'Action updates the action documentation.' | ||
author: 'Niek Palm' | ||
|
||
branding: | ||
icon: book-open | ||
color: purple | ||
|
||
inputs: | ||
readme: | ||
description: 'Readme file to update.' | ||
required: false | ||
default: README.md | ||
actionFile: | ||
description: 'The action definition file.' | ||
required: false | ||
default: action.yml | ||
tocLevel: | ||
description: "TOC level used for the headers." | ||
required: false | ||
default: 2 | ||
lineBreaks: | ||
description: "Line breaks to be used in updated readme (LF|CR|CRLF)." | ||
required: false | ||
default: LF | ||
|
||
runs: | ||
using: 'node16' | ||
main: 'dist/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- action-docs-inputs action="__tests__/fixtures/action_docs_action_action.yml" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- action-docs-inputs action="__tests__/fixtures/action_docs_action_action.yml" --> | ||
## Inputs | ||
|
||
| name | description | required | default | | ||
| --- | --- | --- | --- | | ||
| `readme` | <p>Readme file to update.</p> | `false` | `README.md` | | ||
| `actionFile` | <p>The action definition file.</p> | `false` | `action.yml` | | ||
| `tocLevel` | <p>TOC level used for the headers.</p> | `false` | `2` | | ||
| `lineBreaks` | <p>Line breaks to be used in updated readme (LF|CR|CRLF).</p> | `false` | `LF` | | ||
<!-- action-docs-inputs action="__tests__/fixtures/action_docs_action_action.yml" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!-- action-docs-usage project="npalm/action-docs" version="v1" --> | ||
<!-- action-docs-usage action="__tests__/fixtures/action.yml" project="npalm/action-docs" version="v1" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.