Skip to content

Commit

Permalink
fix: error fetching history (#1211)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
jackton1 and actions-user committed Jun 1, 2023
1 parent 5978e5a commit 8c9ee56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8c9ee56

Please sign in to comment.