mirror of
https://github.com/tj-actions/changed-files
synced 2025-03-05 21:06:25 +00:00
fix: bug running changed files with limited history (#1188)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
777b2b437a
commit
449a845ff2
3 changed files with 3 additions and 3 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -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}`
|
||||
]
|
||||
});
|
||||
}
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue