From e0f0499d8ccb8d609f0a38cee0c2fb25e465dde4 Mon Sep 17 00:00:00 2001 From: Ben Selwyn-Smith Date: Mon, 9 Dec 2024 13:11:34 +1000 Subject: [PATCH] chore: disable gpg signing for commit finder tests Signed-off-by: Ben Selwyn-Smith --- tests/repo_finder/test_commit_finder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/repo_finder/test_commit_finder.py b/tests/repo_finder/test_commit_finder.py index 925fdf20d..45fa15aea 100644 --- a/tests/repo_finder/test_commit_finder.py +++ b/tests/repo_finder/test_commit_finder.py @@ -97,6 +97,9 @@ def test_commit_finder() -> None: "initial_branch": "master", }, ) + # Disable gpg signing of tags for this repository to prevent input prompt hang. + with git_obj.repo.config_writer() as git_config: + git_config.set_value("tag", "gpgsign", "false") # Create a commit from a newly created file. with open(os.path.join(REPO_DIR, "file_1"), "w", encoding="utf-8") as file: