Skip to content

Commit 15d36fd

Browse files
halilkayamwsHalil Kaya
andauthored
fix(669): fix Github workflow list dropdown (#670)
Signed-off-by: Halil Kaya <halilkayamws@gmail.com> Co-authored-by: Halil Kaya <halil@matchwornshirt.com>
1 parent e0a0582 commit 15d36fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/analytics_server/mhq/service/external_integrations_service.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ def get_repo_workflows(self, gh_org_name: str, gh_org_repo_name: str):
5555
)
5656
workflows_list = []
5757
for page in range(0, workflows.totalCount // PAGE_SIZE + 1, 1):
58-
workflows = workflows.get_page(page)
59-
if not workflows:
58+
paginated_workflows = workflows.get_page(page)
59+
if not paginated_workflows:
6060
break
61-
workflows_list += workflows
61+
workflows_list += paginated_workflows
6262
return workflows_list
6363
except GithubException as e:
6464
raise e

0 commit comments

Comments
 (0)