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

Fix "GitObjectDoesNotExistException" error when not using targetRepositoryName config #1478

Conversation

rhyskoedijk
Copy link
Contributor

@rhyskoedijk rhyskoedijk commented Nov 22, 2024

Fixes #1413.

This reverts the part of #1382 that was added to stop Dependabot re-cloning the repo if it already existed locally. It seems that in some situations, this can cause Dependabot to base its PR on a dirty/uncommitted working state.

Dependabot will now always clone the source repo, even if it already exists locally; This is less efficient, but ensures that the correct files will be used for the update.

@rhyskoedijk rhyskoedijk changed the title Always clone repo, even if it already exists locally Fix "GitObjectDoesNotExistException" error when not using targetRepositoryName config Nov 22, 2024
@rhyskoedijk rhyskoedijk marked this pull request as ready for review November 22, 2024 09:13
@rhyskoedijk
Copy link
Contributor Author

I suspect this will also fix #1427, but am not 100% sure yet; Will ask OP to re-test once this is merged.

@mburumaxwell mburumaxwell merged commit 459d553 into tinglesoftware:main Nov 25, 2024
3 checks passed
@rhyskoedijk rhyskoedijk deleted the feature/disable-local-source-repo-caching branch November 25, 2024 04:48
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

Successfully merging this pull request may close these issues.

ADO API responds with GitObjectDoesNotExistException when pushing file changes to branch
2 participants