-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d413cb0
commit 194401d
Showing
5 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,7 @@ This workflow has additional options that you can use to customize it for your u | |
| `commit_message` | `Updated with the latest blog posts` | Allows you to customize the commit message | No | | ||
| `committer_username` | `blog-post-bot` | Allows you to customize the committer username | No | | ||
| `committer_email` | `[email protected]` | Allows you to customize the committer email | No | | ||
| `output_only` | `false` | Sets the generated array as `results` [output variable](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs) so that it can be consumed in other actions and parsed via utilities like jq. This will also prevent committing to readme. | No | | ||
|
||
### Advanced usage examples | ||
#### StackOverflow example | ||
|
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 |
---|---|---|
|
@@ -77,6 +77,13 @@ inputs: | |
description: "Email id used while committing to the repo" | ||
default: "[email protected]" | ||
required: false | ||
output_only: | ||
description: "Prevent updating the readme, instead sets the output to the output variable named `results`" | ||
default: "false" | ||
required: false | ||
outputs: | ||
results: | ||
description: "JSON stringified array of posts" | ||
|
||
runs: | ||
using: node12 | ||
|
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