A space to discuss online store customization, theme development, and Liquid templating.
Hi, I'm currently try to develop themes on Github. Whenever I make changes live on Shopify, it instantly pushes those changes to the corresponding branch. However, I want it to create a pull request first then I decide whether or not if i want to merge. Is that possible? Thanks in advance.
AFAIK you'd use github actions to generate a pull request.
Possibly in tandem with using a separate repo as a staging repo , or a staging branch ala the git-flow approach.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
One way to do this is to use a webhook to trigger a GitHub Actions workflow that creates a pull request. The workflow can be configured to automatically create a pull request and merge it when certain conditions are met, or to create a pull request for manual review and approval before merging.