-
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.
Loading status checks…
feat: Add support for inputs deprecationMessage (#566)
Add deprecation message to inputs table Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
1 parent
5ea18d6
commit e283563
Showing
5 changed files
with
44 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- action-docs-inputs action="__tests__/fixtures/action/deprecated_input_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,8 @@ | ||
<!-- action-docs-inputs action="__tests__/fixtures/action/deprecated_input_action.yml" --> | ||
## Inputs | ||
|
||
| name | description | required | default | | ||
| --- | --- | --- | --- | | ||
| `inputA` | <p>This is an input<br/><em>Deprecated: This input has been deprecated</em></p> | `false` | `""` | | ||
| `inputB` | <p>This is an input<br/><em>Deprecated</em></p> | `false` | `""` | | ||
<!-- action-docs-inputs action="__tests__/fixtures/action/deprecated_input_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,17 @@ | ||
name: "An Action" | ||
description: "Test of deprecated inputs" | ||
author: "Niek Palm" | ||
inputs: | ||
inputA: | ||
required: false | ||
description: This is an input | ||
deprecationMessage: This input has been deprecated | ||
inputB: | ||
required: false | ||
description: This is an input | ||
deprecationMessage: '' | ||
|
||
runs: | ||
using: "node12" | ||
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