From cdde4f9d60df35651fe791cdd2b2e15a78a2a6b1 Mon Sep 17 00:00:00 2001 From: Carly Gundy <47304080+cgundy@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:59:28 +0100 Subject: [PATCH] chore(IDX): skip checks from dependabot (#88) --- .../repo_policies/bot_checks/check_bot_approved_files.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py index b1dd7f4..901b856 100644 --- a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py +++ b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py @@ -90,6 +90,11 @@ def main() -> None: env_vars = load_env_vars(REQUIRED_ENV_VARS) user = env_vars["USER"] + # For now skip checks from dependabot until we decide how to handle them + if user == "dependabot[bot]": + print("Skipping checks for dependabot.") + return + is_bot = is_approved_bot(user) if is_bot: