3
0
Fork 0
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:
Tonye Jack 2023-05-28 19:20:27 -06:00 committed by GitHub
parent 777b2b437a
commit 449a845ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}`
]
});
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -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 {