fix: error fetching history (#1211)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user