Cannot find a public repository I do not belong to in the picker

What you are seeing

I cannot find a public repository I do not belong to in the picker.


#Why it happens

Public repositories you are not a member of appear only through search, and only on the first page of results. Paging past page 1 shows only your own repositories.


#What to do

Type a more specific search term so the repository appears on page 1, or paste the file's GitHub URL directly into the search box.


#Settings involved

Setting

Where

What it does

Unlicensed and anonymous access

Not user-configurable

Granted on the MACRO module only, for both 'unlicensed' and 'anonymous'. So a reader outside the licence, or logged out entirely, still sees public file content in the degraded read-only branch. But gets no "Github" byli


#Limits that apply here

Limit

Value

What happens

Repository listing: 100 per page

-

GET /user/repos with per_page=100.

Public repository search: first page only

-

Search runs only when a query is typed and page === 1. Paging past page 1 shows only the person's own repositories.

No caching of file content

-

Every render of a GitHub-file macro re-fetches the file. A page with many GitHub macros consumes GitHub API budget on every view.



Found it? Good.