Skip to content

Commit

Permalink
update description
Browse files Browse the repository at this point in the history
  • Loading branch information
tokusumi committed Mar 27, 2021
1 parent 7849cbf commit 2a6cb05
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,14 @@ jobs:
message: "synchronizing Readme"
silent: true
```
### Configuration
| input | description |
| -------------------- | ----------------------------------------------------------------------- |
| token | Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }} |
| markdown (Optional) | Target markdown file path. (default: "README.md") |
| message (Optional) | Commit message for action. (default: "Embedding code into Markdown") |
| no_change (Optional) | Issue comment at no changed (default: "No changes on README!" ) |
| output (Optional) | Output markdown file path. If none, override target file. (default: "") |
| silent (Optional) | No issue comment in silent mode (default: false) |
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author: "@tokusumi"
description: Action to synchronize "any" code in markdown with an external file. No more managing code as plain text.
inputs:
token:
description: Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN}}
description: Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}
required: true
markdown:
description: Target markdown file path.
Expand Down

0 comments on commit 2a6cb05

Please sign in to comment.