We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2e6b6 commit 13c65f1Copy full SHA for 13c65f1
1 file changed
src/ghdcbot/adapters/github/rest.py
@@ -421,10 +421,9 @@ def _list_repos(self) -> Sequence[dict]:
421
if status == 200 and not repos:
422
self._logger.info("Organization has no repositories yet", extra={"org": self._org})
423
user_fallback = _load_user_fallback()
424
- if user_fallback and (status in {401, 403} or (status == 200 and not repos)):
+ if user_fallback and status in {401, 403}:
425
self._logger.info("Falling back to user repositories (not an org member)")
426
repos, _ = self._list_repos_from_path("/user/repos")
427
-
428
self._last_repo_count = len(repos)
429
if not repos:
430
self._logger.warning("No repositories discovered", extra={"org": self._org})
0 commit comments