From 413f77bf8c2aa56e1063800d1dbb89a24c79b252 Mon Sep 17 00:00:00 2001 From: RoseSecurity <72598486+RoseSecurity@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:04:22 -0500 Subject: [PATCH] fix: fix gpg signing by using git-plumbing method (#42) --- src/github_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github_provider.py b/src/github_provider.py index ef527b3c..be7bc8d1 100644 --- a/src/github_provider.py +++ b/src/github_provider.py @@ -91,7 +91,7 @@ def create_branch_and_push_all_changes(self, repo_dir: str, branch_name: str, co repo.git.add("-A") if self.__config.gpg_key_id: - repo.index.commit('-S', f'--gpg-sign={self.__config.gpg_key_id}', '-m', commit_message) + repo.git.commit('-S', f'--gpg-sign={self.__config.gpg_key_id}', '-m', commit_message) else: repo.index.commit(commit_message)