Skip to content

Commit

Permalink
Set showAsErrorMessage to false
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 9, 2023
1 parent eb997f5 commit adf635d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/commitSha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,11 @@ export const getSHAForPullRequestEvent = async (
if (
!previousSha ||
(previousSha &&
(await verifyCommitSha({sha: previousSha, cwd: workingDirectory})) !==
0)
(await verifyCommitSha({
sha: previousSha,
cwd: workingDirectory,
showAsErrorMessage: false
})) !== 0)
) {
core.info(
`Unable to locate the previous commit in the local history for ${github.context.eventName} (${github.context.payload.action}) event. Falling back to the previous commit in the local history.`
Expand Down

0 comments on commit adf635d

Please sign in to comment.