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)