Skip to content

Commit

Permalink
Merge branch 'main' into Feat/runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda authored Oct 20, 2024
2 parents 3e8cb56 + de92379 commit 72c8f2f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion keep/providers/github_provider/github_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,12 @@ def _query(
),
-1,
)
stargazers_with_dates = stargazers_with_dates[last_stargazer_index:]
if last_stargazer_index == -1:
stargazers_with_dates = []
else:
stargazers_with_dates = stargazers_with_dates[
last_stargazer_index + 1 :
]
# If we dont, use the previous stars count as an index
elif previous_stars_count and int(previous_stars_count) > 0:
stargazers_with_dates = list(repo.get_stargazers_with_dates())[
Expand Down

0 comments on commit 72c8f2f

Please sign in to comment.