fix case when no files were commited in remote push trigger

The issue appears together with --intent-to-add flag for adding new
files. Original testing has been performed by having already added new
files, thus it passed all checks.

This commit also adds `commit_author` option which will allow to
overwrite the author.
This commit is contained in:
arcanis committed 2022-11-14 00:59:43 +02:00
1 parent b2ed383de0
commit cdd66ee780
6 files changed
+68 -29

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ target = gitremote
target = gitremote
[gitremote]
commit_author = "user <user@host>"
push_url = https://github.com/arcan1s/repository.git
pull_url = https://github.com/arcan1s/repository.git