From a4e4529299f668fea9b22bb22c5400fd7a6f2313 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 24 Sep 2022 23:27:01 -0400 Subject: [PATCH] Correct program name --- lib/actions-util.js | 2 +- src/actions-util.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/actions-util.js b/lib/actions-util.js index 83a78e7cd..4f45467e0 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -452,7 +452,7 @@ async function getRef() { // in actions/checkout@v1 this may not be true as it checks out the repository // using GITHUB_REF. There is a subtle race condition where // git rev-parse GITHUB_REF != GITHUB_SHA, so we must check - // git git-parse GITHUB_REF == git rev-parse HEAD instead. + // git rev-parse GITHUB_REF == git rev-parse HEAD instead. const hasChangedRef = sha !== head && (await (0, exports.getCommitOid)(checkoutPath, ref.replace(/^refs\/pull\//, "refs/remotes/pull/"))) !== head; if (hasChangedRef) { diff --git a/src/actions-util.ts b/src/actions-util.ts index 17b521af7..66e4bb669 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -545,7 +545,7 @@ export async function getRef(): Promise { // in actions/checkout@v1 this may not be true as it checks out the repository // using GITHUB_REF. There is a subtle race condition where // git rev-parse GITHUB_REF != GITHUB_SHA, so we must check - // git git-parse GITHUB_REF == git rev-parse HEAD instead. + // git rev-parse GITHUB_REF == git rev-parse HEAD instead. const hasChangedRef = sha !== head && (await getCommitOid(