From cdc87b444aa8566a955dea5b75f0e79c9b74723a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Tue, 23 Jul 2024 18:02:59 +0200 Subject: [PATCH] feat: skip ci if gimi push is used --- src/cli/command/push.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/command/push.c b/src/cli/command/push.c index 16106c2..c73edbe 100644 --- a/src/cli/command/push.c +++ b/src/cli/command/push.c @@ -34,8 +34,8 @@ int git_push(char *provider_name, char *branch_name, bool verbose) { char output[1024]; char command[256]; - snprintf(command, sizeof(command), "git push gimi-%s %s 2>&1", provider_name, - branch_name); + snprintf(command, sizeof(command), "git push -o skip-ci gimi-%s %s 2>&1", + provider_name, branch_name); file_ptr = popen(command, "r"); if (file_ptr == NULL) {