terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

fix: default_branch 404 when repository was deleted

Open mariux opened this issue 3 years ago • 2 comments
trafficstars

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.

mariux avatar May 21 '22 16:05 mariux

Big +1 on this. We're hitting this same issue and it's very annoying.

CameronHall avatar May 25 '22 00:05 CameronHall

what do we need to get this merged?

mariux avatar Jul 08 '22 18:07 mariux

👋 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!

github-actions[bot] avatar Apr 24 '23 01:04 github-actions[bot]