diff --git a/dist/index.js b/dist/index.js index a2d94550..ae8d330b 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index bb434d19..38ff7c92 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/utils.ts b/src/utils.ts index 31fb0da0..1d58ac05 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -510,7 +510,7 @@ export const getRemoteBranchHeadSha = async ({ }): Promise => { const {stdout} = await exec.getExecOutput( 'git', - ['rev-parse', `refs/remotes/origin/${branch}`], + ['rev-parse', `origin/${branch}`], { cwd, silent: process.env.RUNNER_DEBUG !== '1'