From 25e6f29bfb39aa1759a7ea0d4a5c471b13634b45 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 8 Sep 2023 11:40:04 -0600 Subject: [PATCH] Updated the message --- src/commitSha.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commitSha.ts b/src/commitSha.ts index 470a412e868..c40e122846f 100644 --- a/src/commitSha.ts +++ b/src/commitSha.ts @@ -427,7 +427,7 @@ export const getSHAForPullRequestEvent = async ( github.context.payload.action === 'synchronize' ) { throw Error( - 'Unable to locate the previous commit in the local history. Please ensure to [checkout pull request HEAD commit instead of merge commit](https://github.com/actions/checkout/blob/main/README.md#checkout-pull-request-head-commit-instead-of-merge-commit)' + 'Unable to locate the previous commit in the local history. Please ensure to checkout pull request HEAD commit instead of the merge commit. See: https://github.com/actions/checkout/blob/main/README.md#checkout-pull-request-head-commit-instead-of-merge-commit)' ) } else { core.info(