Skip to content

Commit 11e6163

Browse files
gpongelliLee-W
authored andcommitted
fix: avoid that pytest overrides existing gpg config
1 parent 29f8f86 commit 11e6163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def tmp_commitizen_project_with_gpg(tmp_commitizen_project):
5050

5151
if _m:
5252
_key_id = _m.group(1)
53-
cmd.run("git config --global commit.gpgsign true")
54-
cmd.run(f"git config --global user.signingkey {_key_id}")
53+
cmd.run("git config commit.gpgsign true")
54+
cmd.run(f"git config user.signingkey {_key_id}")
5555

5656
yield tmp_commitizen_project
5757

0 commit comments

Comments
 (0)