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.break()
|
||||||
info.section("Saving")
|
info.section("Saving")
|
||||||
info("Output condition", _output_condition)
|
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")
|
const {svg} = await import("../metrics/utils.mjs")
|
||||||
let data = ""
|
let data = ""
|
||||||
try {
|
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:
|
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)
|
- `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
|
#### ℹ️ Examples workflows
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ inputs:
|
|||||||
default: always
|
default: always
|
||||||
values:
|
values:
|
||||||
- always # Always push changes
|
- always # Always push changes
|
||||||
- skip-if-only-metadata-changed # Skip changes if only metadata contained in footer changed
|
- data-changed # Skip changes if no actual data changed (e.g. when only render timestamp changed)
|
||||||
|
|
||||||
# Optimize SVG image to reduce its filesize
|
# Optimize SVG image to reduce its filesize
|
||||||
# Some templates may not support this option
|
# Some templates may not support this option
|
||||||
|
|||||||
Reference in New Issue
Block a user