Improve log messages (#730)

This commit is contained in:
Bjorn Lu
2026-09-04 18:07:20 +00:00
committed by GitHub
parent 371fd77b45
commit e08fde7435
4 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -195,7 +195,7 @@ export class GitHub {
if (authorIdentity.exitCode === 0 && committerIdentity.exitCode === 0) {
return;
}
core.info("Setting Git user to github-actions[bot]");
core.info("Setting git user to github-actions[bot]");
await exec("git", ["config", "user.name", `"github-actions[bot]"`], {
cwd: this.cwd,
});
@@ -222,7 +222,7 @@ export class GitHub {
})
.catch((err) => {
// Assuming tag was manually pushed in custom publish script
core.warning(`Failed to create tag ${tag}: ${err.message}`);
core.warning(`Failed to create git tag "${tag}": ${err.message}`);
});
}
await exec("git", ["push", "origin", tag], {