Address more comments from PR

This commit is contained in:
Andrew Eisenberg 2023-08-29 13:20:55 -07:00
parent e603106d1a
commit 469786860d
6 changed files with 20 additions and 22 deletions

3
lib/actions-util.js generated
View file

@ -98,8 +98,7 @@ const getCommitOid = async function (checkoutPath, ref = "HEAD") {
"The checkout path provided to the action does not appear to be a git repository.");
}
else {
core.info(`Could not determine current commit SHA using git. Continuing with data from user input or environment. ` +
`Failed to call git to determine merge base. Continuing with data from environment: ${stderr}`);
core.info(`Could not determine current commit SHA using git. Continuing with data from user input or environment. ${stderr}`);
}
return (0, exports.getOptionalInput)("sha") || (0, util_1.getRequiredEnvParam)("GITHUB_SHA");
}