Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error in "Determining the checkout info" step of actions/checkout@v3.5.0 #1633

Open
mithunpandey opened this issue Mar 1, 2024 · 1 comment

Comments

@mithunpandey
Copy link

mithunpandey commented Mar 1, 2024

We are using the actions/checkout@v3.5.0 version in our actions, we are getting the following error, we are using a on premises windows runner

Determining the checkout info
"C:\Program Files\Git\cmd\git.exe" branch --list --remote origin/bug/LTK-22569-Multi-timer-startup-time-inconsistency
"C:\Program Files\Git\cmd\git.exe" tag --list bug/LTK-22569-Multi-timer-startup-time-inconsistency
Error: A branch or tag with the name 'bug/LTK-22569-Multi-timer-startup-time-inconsistency' could not be found

on doing the same using the command line git we are getting a proper response as the branch name is a valid.
$ git branch --list --remote origin/bug/LTK-22569-Multi-timer-startup-time-inconsistency
origin/bug/LTK-22569-Multi-timer-startup-time-inconsistency

@mithunpandey
Copy link
Author

I have tried with the Latest actions/checkout@v4.1.1 but the behavior is same, the Fetch depth argument is fetch-depth: 0, when i tried with fetch-depth: 1 the repo clone is working.

my understanding is fetch depth 0 means all the history of all the branches will get downloaded, so it should be working with 0 ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant