Skip to content

Commit

Permalink
fix: fix gpg signing by using git-plumbing method (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseSecurity authored Sep 12, 2024
1 parent 2ec4218 commit 413f77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 413f77b

Please sign in to comment.