Archive-source with "git-init" option may cause step to fail waiting for gpg signing
This issue is related to https://github.com/flathub/shared-modules/issues/165, where I first reported it. If gpg signing is enabled by default (global option) then the commit step may never complete without user interaction, due to git waiting for user interaction to complete gpg signing. This seems unnecessary, given the use case.
Just now, I realized that there is a command-line option --no-gpg-sign which may be of use. I think it is a matter of adding the above parameter to the commit operation. (Or, alternatively, setting commit.gpgsign false config option.)
https://github.com/flatpak/flatpak-builder/blob/a9cee912be36767ca4065e2060abcbc845f6ef0e/src/builder-source-archive.c#L670
and
https://github.com/flatpak/flatpak-builder/blob/a9cee912be36767ca4065e2060abcbc845f6ef0e/src/builder-source-patch.c#L257
AFAICT from quickly looking through the code.