Skip to content

Commit

Permalink
Increase the commit timeout due to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 16, 2024
1 parent 86cde9c commit ddbe281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_geo_project/module/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ddbe281

Please sign in to comment.