fix: bug running changed files with limited history (#1188)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2023-05-28 19:20:27 -06:00
committed by GitHub
parent 777b2b437a
commit 449a845ff2
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@@ -222,7 +222,7 @@ const getSHAForPushEvent = (inputs, env, workingDirectory, isShallow, hasSubmodu
'--progress',
`--deepen=${inputs.fetchDepth}`,
'origin',
`+refs/tags/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
`+refs/heads/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
]
});
}