-
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
Recent Update to v4.1.3 Causes LibGit2SharpException with Sparse Checkout #1689
Comments
Hi @skylayer. We will investigate. In the meantime, you can pin your workflow to Example
|
Is it possible you're hitting this documented (and recently fixed) lib2git issue? |
We are also hitting this issue. Primarily when we're utilizing checkout for the
This error only popped up with the latest release of checkout. |
We are also seeing the
We are also seeing this same issue with the latest actions/checkout and |
Thank you for your assistance, @jww3.
It seems that the issue is related to LibGit2, but I currently lack the bandwidth to investigate further. Thanks for quick responding! |
I've hit the same bug, but with rust git2 (uses libgit2 1.7.2) |
Workaround: pin workflows to Proposed fix: #1692 |
We have created release |
Given that the default CodeQL workflow references In the case of It would be wise for future versions of |
|
Hello,
After the recent update to
actions/checkout@v4.1.3
, we have encountered an issue when handling repositories after a sparse checkout using LibGit2Sharp. The workflow that was functioning correctly withv4.1.1
started throwing an exception post-update.Here's the snippet of the workflow configuration that triggers the issue:
When our program processes the repository with the above checkout command, it results in the following unhandled exception:
This exception did not occur with version
v4.1.1
. I'm unsure how to proceed and address this issue, and any guidance would be greatly appreciated.Thank you for looking into this.
The text was updated successfully, but these errors were encountered: