Skip to main content
Version: 3.2.0

fix-github-repo-list

🐛 Bug Fixes​

GitHub repositories missing from the workflow picker​

Goal: A repository the token can administer never appeared in "Add repository to watch" when it was past the first page of the organization listing. The connection test still succeeded, and adding the same repository by hand in the config worked.

Solution: Organization and user repository routes are followed until GitHub stops sending a next page. Repositories without admin permission stay selectable: the closed list shows admin repositories, search also shows the others, and a warning marks the ones where webhook creation may fail.

Files Modified:

  • src/protocol/source/github/github.service.ts - paginate org and user repository listings and return an admin flag
  • src/protocol/source/github/github.service.spec.ts - cover pagination, dedupe, and non-admin repositories
  • ui/src/pages/workflows/context.tsx - carry the optional admin flag on available projects
  • ui/src/pages/workflows/stepForms/StepGitForm.tsx - show non-admin repositories while searching, with a warning icon
  • ui/src/pages/workflows/display.tsx - show the same warning on a watched repository in the table
  • ui/src/pages/workflows/stepForms/StepInitForm.tsx - keep the discover result typed with the admin flag
  • ui/src/protocol/tower.api.ts - accept the optional admin flag on discover