Github integration doesn't always sync settings

There seem to be an issue where json settings changes made in Git aren’t always synced to the connected theme

As an example I changed both sections/header.liquid and sections/header-group.json to add a new setting (new_field_here).

The header.liquid change synced but the header-group.json change didn’t.

I had to do another commit only changing header-group.json for it to sync properly.

Seems to be a bug with the github integration unless I’m missing something?

Commit:

Change not seen in editor:

The log shows 2 files were synced but that doesn’t seem the case: