The action currently fails when adding a new directory, as the ghcommit tool expects paths to files - not directories. A fix for this issue + tests is proposed in https://github.com/planetscale/ghcommit-action/pull/128