Our repositories are divided into communities (also called Organizations) in GitHub Enterprise. There are, for example, the BlueMeanies and the YellowSubmarines organizations. Each of these organizations has perhaps a dozen repos, e.g. YellowSubmarines/WhiteAlbum, YellowSubmarines/AbbeyRoad, ...
What I would like to do is
Search: screendoors in:code repo:YellowSubmarines/* extension:sh
That is, to find all files containing the text screendoors in all of the repositories in the YellowSubmarines organization. I do not want to see results from other organizations.
Ideally I'd like to limit the match to "sh" (bash) scripts files as well.
Of course the above syntax doesn't work thus this question.
Any solution is accepted, including using the API.