terraform-provider-github
terraform-provider-github copied to clipboard
fix: default_branch 404 when repository was deleted
This fixes this situation when a repository got deleted and the default branch of the repository can not be refreshed and fails with a 404 due to the missing repository.
In this situation we can assume the default branch vanished with the repository and thus just mark it as gone and not fail with a 404 not found.
Big +1 on this. We're hitting this same issue and it's very annoying.
what do we need to get this merged?
👋 Hey Friends, this pull request has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!