Address more comments from PR
This commit is contained in:
parent
e603106d1a
commit
469786860d
6 changed files with 20 additions and 22 deletions
3
lib/actions-util.js
generated
3
lib/actions-util.js
generated
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue