Skip to content
Discussion options

You must be logged in to vote

I've seen this before. The issue is that OR in GitHub search has very low precedence. Your query owner:@me OR org:example test is being parsed as (owner:@me) OR (org:example test). The second part org:example test isn't a valid qualifier, so GitHub's search backend falls back to returning raw JSON instead of the HTML results page.

The fix is to group your terms properly. You likely want repositories that are either owned by you or belong to the example org, and also contain the word "test". Use parentheses to enforce this:

owner:@me OR org:example +test

Or if you want repos that are in the org and have "test", but also include your own repos regardless of "test":

(org:example +test) OR ow…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BigVirusBoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Code Search and Navigation Search, navigate, and understand code on GitHub Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
3 participants