Short description of issue
.shopifyignore is not respected when a theme repository is connected via Shopify’s GitHub integration. The file is ignored and a warning appears in the theme logs.
Reproduction steps
- Create a theme repository on GitHub.
- Connect the repository to a Shopify store via Online Store → Themes → Import theme → Connect from GitHub.
- Add a
.shopifyignorefile to the root of the theme. - Commit and push the file to the remote GitHub repository.
- In Online Store → Themes, wait for the theme to sync with the latest push.
- Click View logs.
- Observe the warning:
Warning: .shopifyignore was ignored.
Additional info
When integrating a GitHub theme repository with Shopify, the .shopifyignore file is ignored and a warning appears in the theme logs, as shown in the attached screenshot.
For reference, see the Shopify CLI documentation for themes regarding .shopifyignore.
What type of topic is this
Bug report
