diff --git a/recipes/README.recipes.md b/recipes/README.recipes.md index 45123b66a..5a72cd455 100644 --- a/recipes/README.recipes.md +++ b/recipes/README.recipes.md @@ -791,7 +791,7 @@ Raises: Returns a presubmit step. -— **def [execute](/recipes/recipe_modules/presubmit/api.py#101)(self, bot_update_step, skip_owners=False, run_all=False):** +— **def [execute](/recipes/recipe_modules/presubmit/api.py#103)(self, bot_update_step, skip_owners=False, run_all=False):** Runs presubmit and sets summary markdown if applicable. diff --git a/recipes/recipe_modules/presubmit/api.py b/recipes/recipe_modules/presubmit/api.py index 538e49415..47748a3c6 100644 --- a/recipes/recipe_modules/presubmit/api.py +++ b/recipes/recipe_modules/presubmit/api.py @@ -85,6 +85,8 @@ class PresubmitApi(recipe_api.RecipeApi): 'user.email=commit-bot@chromium.org', '-c', 'user.name=The Commit Bot', + '-c', + 'diff.ignoreSubmodules=all', 'commit', '-a', '-m',