Macro cannot find a file in a repository that still uses "master"

What you are seeing

The macro cannot find a file in a repository that still uses "master".


#Why it happens

The default branch is 'main' throughout. Only the Appfire File migrator defaults to 'master'.


#What to do

Pick the file through Browse GitHub, which uses the repository's actual default branch, or paste a URL that names the branch explicitly.


#Settings involved

Setting

Where

What it does

Hide GitHub across the whole site

App property `capable-global-hidden-capabilities`, object name `hiddenCapabilities`, value

Hides the capability tenant-wide. IMPORTANT: this gates the BYLINE ONLY. The macro module has no display conditions, so hiding the capability does not stop existing GitHub macros from rendering on pages.

Turn GitHub on or off per space

Space property `<APP_HASH>_capable`, object name `capabilities.alwaysOff` / `capabilities.

AlwaysOff suppresses the byline in that space; alwaysOn shows it even on pages with no GitHub macro. Again, byline only. Macros still render.

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.

Image rendering capped at 800px tall

-

-



Found it? Good.