Skip to content

Commit

Permalink
fix: bug running changed files with limited history (#1188)
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 May 29, 2023
1 parent 777b2b4 commit 449a845
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/commitSha.ts
Expand Up @@ -92,7 +92,7 @@ export const getSHAForPushEvent = async (
'--progress',
`--deepen=${inputs.fetchDepth}`,
'origin',
`+refs/tags/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
`+refs/heads/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
]
})
} else {
Expand Down

0 comments on commit 449a845

Please sign in to comment.