-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
actions/checkout@v2 breaks with "The process '/usr/bin/git' failed with exit code 1" #391
Comments
Do you have a ref called |
update: This issue was unrelated to the checkout repo, and fixed with this PR. |
Having similar issue while running inside docker container.
|
I have exactly the same issue. Does anyone know what's going on? |
In my case, it looks like this action works only when the active user is container:
image: <URL>
options: --user root I debugged this not based on Git (as the output was not very helpful anyway), but trying to write a simple file, e.g. with So, the error seems to originate from the container itself, not from the action. Edit: See the issue #211 for a more detailed discussion and more possible solution approaches. |
@MakisH I tried what you said and it did not work. This is the container Im using https://hub.docker.com/r/synhf/docker-sfdx-cli What do you think it is the problem?
|
I had a similar problem, but mine was a newbie error: I needed to create a
|
I had the same issue with |
Same problem |
Hello, how did you create |
I'm running a very simple gitAction job, and it breaks in actions/checkout@v2: link
it fails on :
Fetching the repository
steplink to full job logs
The text was updated successfully, but these errors were encountered: