Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We have our live theme connected to a branch in our repo. I want to prevent anyone except our lead developer and Shopify (updating changes made in Shopify Admin) from being able to push to this main branch. You should be able to do this using Github Branch Protection Rules but I don't know how to add Shopify to the list of users who can push to the main branch. How are you protecting the branch connected to the live theme?
If I only add our lead developer I get an error message on Shopify admin below the theme saying it is unable to push to the repo.
Solved! Go to the solution
This is an accepted solution.
For anyone wondering about this you can add "Shopify" (the app) to your list of developers/apps allowed to push to the branch. This will restrict who can modify your live site if it is connected to a branch.
This is an accepted solution.
For anyone wondering about this you can add "Shopify" (the app) to your list of developers/apps allowed to push to the branch. This will restrict who can modify your live site if it is connected to a branch.
Hi @Billy-Snow - how did you go about adding Shopify to the list of developers/apps allowed to push to the branch? We are running into this same exact problem...
@cornelle1
On GitHub / your main branch / Settings / Branches / Edit Branch protection rules / look for "Restrict who can push to matching branches" / in the search bar enter "shopify" and the app will show up.
** I just added this to our repo so not sure if it fixes it, but it seems like it will 🙂
Let me know if that does it for you.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025