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

Enable debug/verbose logging to diagnose failures of fetching the repository #1713

Open
matusnovak opened this issue May 2, 2024 · 0 comments

Comments

@matusnovak
Copy link

I have a problem that in my private repo the fetching step fails, but I could not find any way to diagnose the problem.

Such output looks like this:

Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/403/merge*:refs/remotes/origin/403/merge* +refs/tags/403/merge*:refs/tags/403/merge*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 20 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/403/merge*:refs/remotes/origin/403/merge* +refs/tags/403/merge*:refs/tags/403/merge*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 11 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/403/merge*:refs/remotes/origin/403/merge* +refs/tags/403/merge*:refs/tags/403/merge*
Error: The process '/usr/bin/git' failed with exit code 1

Which is not helpful.

Is there any way how I can enable debug or verbose logging for actions/checkout, so that I could diagnose the problem on why the git command failed?

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