In this case, I would say that the "Issues", "Actions" and "Pull Requests" links could safely be removed.
I think these should never be shown if there are enough "real" results.
I don't know how much customisation you do per page, as that would be GitHub specific.
That would leave only 5 results.
The SO results show 6 results packed together, so it should be fine :-)
As it is now, there would be 6 entries. I think that would still look OK?
In the more general case: I wonder how you determine how many results to show per page. For example, searching for just "javascript" there are
- 12 results from developer.mozilla.org
- 6 results from github
- 4 results from stack overflow
This is not even a tiny fraction of the pages with that word on each site anyways. Maybe it would be ok to only show the first 6 (max) for each, and have a more prominent "see more from this site" link (next to the "more results from this site" hidden in the "..." menu)?