From ddbe2810edefddc34f3d48ba8df341a1d9010c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Sun, 16 Jun 2024 10:05:03 +0200 Subject: [PATCH] Increase the commit timeout due to pre-commit --- github_app_geo_project/module/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_app_geo_project/module/utils.py b/github_app_geo_project/module/utils.py index 2628603a659..9900d229932 100644 --- a/github_app_geo_project/module/utils.py +++ b/github_app_geo_project/module/utils.py @@ -482,7 +482,7 @@ def create_commit(message: str) -> bool: _LOGGER.warning(proc_message) return False proc = subprocess.run( # nosec # pylint: disable=subprocess-run-check - ["git", "commit", f"--message={message}"], capture_output=True, encoding="utf-8", timeout=30 + ["git", "commit", f"--message={message}"], capture_output=True, encoding="utf-8", timeout=300 ) if proc.returncode != 0: proc_message = ansi_proc_message(proc)