Skip to content

Commit 6ccf359

Browse files
committed
Add allowance for failure or lack of secrets
1 parent baf73bf commit 6ccf359

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adabot/lib/community_bundle_announcer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ def get_community_bundle_updates() -> Tuple[Set[RepoResult], Set[RepoResult]]:
7575
logging.warning("Rate Limit will reset at: %s", core_rate_limit_reset)
7676
time.sleep(sleep_time.seconds)
7777
continue
78+
except pygithub.GithubException:
79+
# Secrets may not be available or error occurred - just skip
80+
return (set(), set())
7881

7982

8083
if __name__ == "__main__":

0 commit comments

Comments
 (0)