feat(core): add output_condition option (#620) [skip ci]
This commit is contained in:
@@ -203,6 +203,10 @@ It is possible to configure output behaviour using `output_action` option, which
|
||||
- `gist`, where output will be stored an already existing gist
|
||||
- To use this feature, a `gists` scope must be granted to your `token` and `committer_gist` identifier must be provided
|
||||
|
||||
It also possible to alter output condition using `output_action` option, which can be set to:
|
||||
- `always`, to always push changes (provided that git sha changed)
|
||||
- `skip-if-only-metadata-changed`, to skip changes if only metadata contained in footer changed
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
```yaml
|
||||
|
||||
@@ -94,6 +94,15 @@ inputs:
|
||||
- pull-request-rebase # Same as "pull-request" and additionaly rebase and merge pull request
|
||||
- gist # Save output to "committer_gist"
|
||||
|
||||
# Output condition
|
||||
output_condition:
|
||||
description: Output condition
|
||||
type: string
|
||||
default: always
|
||||
values:
|
||||
- always # Always push changes
|
||||
- skip-if-only-metadata-changed # Skip changes if only metadata contained in footer changed
|
||||
|
||||
# Optimize SVG image to reduce its filesize
|
||||
# Some templates may not support this option
|
||||
optimize:
|
||||
|
||||
Reference in New Issue
Block a user