diff --git a/github_app_geo_project/module/standard/patch.py b/github_app_geo_project/module/standard/patch.py index c13ac6c3810..42b87d7511a 100644 --- a/github_app_geo_project/module/standard/patch.py +++ b/github_app_geo_project/module/standard/patch.py @@ -139,7 +139,7 @@ async def process( result_message.extend(["```diff", patch_input, "```"]) else: proc = subprocess.run( # nosec # pylint: disable=subprocess-run-check - ["git", "apply"], + ["git", "apply", "--allow-empty"], input=patch_input, encoding="utf-8", capture_output=True,