Why can't Shopify detect my Github repository?

I’m trying to connect my development store to Github, but I’m getting “No repositories found”:

Shopify can’t seem to detect my Github repo…what could be wrong?

I followed the instructions here: https://shopify.dev/themes/tools/github/getting-started

Any help would be appreciated. Thanks!

Are you trying to link to a private repo? Are you trying to link to a fork? Are you trying to link to a fork of Dawn?

I was not able to link to a fork of Dawn.

I was not able to make the fork private, because GitHub wouldn’t allow it.

So I created a new empty public repo, copied the contents of Dawn across to it and pushed that.

It then appeared in the list of repos available for integration.

I then made that repo private.

It remained in the list of repos available for integration.

1 Like

I had actually gotten it to work last week with what you did and a bit more…

  1. Killed my fork
  2. Made a new repo from scratch
  3. Copied all stuff in there
  4. At this point it would still not work…but I tried one last thing: limited access to just 1 repo instead of all

And it worked lol

For me, I didn’t realize I needed to install the Shopify app for the GitHub repository I wanted to connect to.

To do this, in “Step 1: Connect to a GitHub organization or account” after sub-step 2, click the Account dropdown, and then click “Add account” (even do this if your GitHub account is showing!). In the page that appears, select the account containing the repository with the theme you want to connect to. Then, select the dot next to “Only select repositories”, and then select the desired repository. Finally, click “Save”.

Now, the repository should show up in the Repository dropdown when adding a theme from GitHub within the Shopify Admin (make sure you refresh the page).