Github theme integration - Theme editor UI commit messages

Hi

We’re using the shopify github integration.
We let the web team use the theme editor UI for just-in-time changes (e.g. copy, template rearrangements etc).

However it’s very difficult to track back these changes, as everything just gets a commit message of “Update from Shopify for theme /” with Author: “shopify[bot] <########+shopify[bot]@users.noreply.github.com>”

Is there any way to add the user to the commit message so the dev team can ask questions to the right people about their changes (… or mistakes!) ?

Hey @andyclap,

One quick thought here would be to have a separate “commit_details” theme setting that someone could alter before they save their changes so that each commit via the Theme Editor would have different actionable details.

1 Like

At the moment, there are no known ways to manage the commit strategy of the Github integration.

Maybe one day the integration will be extensible, keep pushing until then :wink:

No the integration has no customizability.
Make it a feature request here, and through the partner dashboard support, or have the merchant also make a form feature request to shopify advisors.

The github integration is a glorified changelog tracking/backup firehose.
A bare minimum starting point that’s better than nothing

The minimum that can be done is having each editor add a comment with their name.
e.g. {% comment %} YYYY-MM-DD First Last - ticket #ID name or url {% endcomment %}
Of course this fails in JSON configs & templates etc, because platforms always have narrow unreasonable schemas~validation that don’t you add a custom comment/annotation property.
Though when adding NEW settings, use the info property to indicate who owns that feature.

More advanced each person gets their OWN theme/repo/branch and you setup actions to merge them to a staging or directly to the production theme.
Where other actions revert changes directly to live from the admin or some other scheme.

I’m actually not quite sure how it works, as I have not looked into it at all. But I recall seeing - very few times - multiple authors on commit messages from the github bot.

Like the standard commit message and then instead of just “shopify[bot] authored last week” it was more like “shopify[bot] and some-user authored last week”

1 Like

Knowing Shopify, I wouldn’t be surprised if some changes were introduced at some point and rolled back, experimenting in this direction. The number of times I remember something that is not present anymore on the platform is astounding :joy:

1 Like

I appreciate all the replies. I expected it to be non-configurable, but wanted to check with the community first.

I’ll raise it as a feature request. The commit message is text, so a simple template mechanism would be awesome.

I would like this feature too, even just dropping the users name into the commit message would help.

1 Like

Haha, for real touché :smiley: