-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Broken submodule kills self-hosted runners completely #590
Comments
We ran into the same issue, except that instead of adding a submodule that references a non-existing commit we accidentally committed a submodule reference in a pull request without having the submodule mentioned in The problem is that the
I think this way the action can switch away from the broken commit and recover. |
I've been working around the issue by running this command before the checkout step: git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : This sets HEAD to a dummy commit before checking out the tree. The checkout step will then do a |
* Remove arbitrum submodule * Potential fix for submodule error actions/checkout#590 (comment)
* Remove arbitrum submodule * Potential fix for submodule error actions/checkout#590 (comment)
This appears to be a duplicate of #385 |
this should be resolved now... with some changes to the checkout code in #964.. |
This sets HEAD to a dummy commit before checking out the tree. The checkout step will then do a git clean which will wipe the tree before the auth step, preventing this issue from occurring again. See actions/checkout#590 (comment) b/282361986
This sets HEAD to a dummy commit before checking out the tree. The checkout step will then do a git clean which will wipe the tree before the auth step, preventing this issue from occurring again. See actions/checkout#590 (comment) b/282361986
This sets HEAD to a dummy commit before checking out the tree. The checkout step will then do a git clean which will wipe the tree before the auth step, preventing this issue from occurring again. See actions/checkout#590 (comment) b/282361986
To clarify - you need to run CI on this branch ONCE and all further runs on ALL branches will fail.
The text was updated successfully, but these errors were encountered: