fix: error fetching history (#1211)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2023-06-01 10:34:16 -06:00
committed by GitHub
parent 5978e5a2df
commit 8c9ee56d01
3 changed files with 3 additions and 3 deletions

View File

@@ -510,7 +510,7 @@ export const getRemoteBranchHeadSha = async ({
}): Promise<string> => {
const {stdout} = await exec.getExecOutput(
'git',
['rev-parse', `refs/remotes/origin/${branch}`],
['rev-parse', `origin/${branch}`],
{
cwd,
silent: process.env.RUNNER_DEBUG !== '1'