Skip to content

Github workflows not listed #669

Open
@halilkayamws

Description

@halilkayamws

Description:

When adding a Github repo with Workflow source, the dropdown for workflows seem to be loading and then shows a blank list.

Steps to reproduce:

  1. Go to teams
  2. Click on Add a new team
  3. Select a Github repository
  4. Select Workflow as source
  5. Click on the Choose workflow dropdown

Expected behavior:

Workflows to be listed in the dropdown.

Actual behavior:

Image

Server Setup Information:

Docker container

Additional context

Error log from the backend server:

05/Jun/2025:10:00:00 +0000 127.0.0.1[INFO] GET /orgs/something/integrations/github/myorg/myrepo/workflows 500 265 "-" "axios/1.7.7"
[2025-06-05 13:22:21,087] ERROR in app: Exception on /orgs/something/integrations/github/myorg/myrepo/workflows [GET]
Traceback (most recent call last):
File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/backend/analytics_server/mhq/api/integrations.py", line 127, in get_workflows_for_repo
workflows_list = external_integrations_service.get_repo_workflows(
File "/app/backend/analytics_server/mhq/service/external_integrations_service.py", line 58, in get_repo_workflows
workflows = workflows.get_page(page)
AttributeError: 'list' object has no attribute 'get_page'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions