feat(core): rename skip-if-only-metadata-changed to data-changed
This commit is contained in:
@@ -326,7 +326,7 @@ async function wait(seconds) {
|
||||
info.break()
|
||||
info.section("Saving")
|
||||
info("Output condition", _output_condition)
|
||||
if ((_output_condition === "skip-if-only-metadata-changed")&&((committer.commit) || (committer.pr))) {
|
||||
if ((_output_condition === "data-changed")&&((committer.commit) || (committer.pr))) {
|
||||
const {svg} = await import("../metrics/utils.mjs")
|
||||
let data = ""
|
||||
try {
|
||||
|
||||
@@ -205,7 +205,7 @@ It is possible to configure output behaviour using `output_action` option, which
|
||||
|
||||
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
|
||||
- `data-changed`, to skip changes if no actual data changed (e.g. when only render timestamp changed)
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
|
||||
@@ -100,8 +100,8 @@ inputs:
|
||||
type: string
|
||||
default: always
|
||||
values:
|
||||
- always # Always push changes
|
||||
- skip-if-only-metadata-changed # Skip changes if only metadata contained in footer changed
|
||||
- always # Always push changes
|
||||
- data-changed # Skip changes if no actual data changed (e.g. when only render timestamp changed)
|
||||
|
||||
# Optimize SVG image to reduce its filesize
|
||||
# Some templates may not support this option
|
||||
|
||||
Reference in New Issue
Block a user