diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index f271f40d..ceee2c34 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -203,7 +203,7 @@ async function retry(func, {retries = 1, delay = 0} = {}) { //Committer const committer = {} - if ((!dryrun)&&(_action !== "none")) { + if ((!dryrun) && (_action !== "none")) { //Compute committer informations committer.token = _token || token committer.gist = _action === "gist" ? _gist : null @@ -245,6 +245,7 @@ async function retry(func, {retries = 1, delay = 0} = {}) { } else throw error + } //Retrieve previous render SHA to be able to update file content through API committer.sha = null diff --git a/source/app/metrics/metadata.mjs b/source/app/metrics/metadata.mjs index eb83265f..287fe90c 100644 --- a/source/app/metrics/metadata.mjs +++ b/source/app/metrics/metadata.mjs @@ -260,6 +260,7 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) { } else value = process.env[`INPUT_${key.toUpperCase()}`]?.trim() ?? "" + const unspecified = value === "" //From presets if ((key in preset) && (unspecified)) {