Solved

Cannot find Github Integration Repo

dwightco
Excursionist
21 0 2

I'm trying to connect my development store to Github, but I'm getting "No repositories found":

Screenshot 2021-07-01 141654.png

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!

Accepted Solution (1)

shooftie
Visitor
1 1 1

This is an accepted solution.

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.

View solution in original post

Replies 3 (3)

shooftie
Visitor
1 1 1

This is an accepted solution.

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.

dwightco
Excursionist
21 0 2

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

wristbands
Shopify Partner
20 3 8

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).