From 3f24390e1e5a18280d2bdb6480a985e10d313eb1 Mon Sep 17 00:00:00 2001 From: Gianluca Brindisi Date: Thu, 8 Aug 2024 10:23:47 +0200 Subject: [PATCH] Add a default value for dependabot_filename_to_use --- evergreen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evergreen.py b/evergreen.py index 2576bd0..c84f65b 100644 --- a/evergreen.py +++ b/evergreen.py @@ -80,8 +80,8 @@ def main(): # pragma: no cover print("Skipping " + repo.full_name + " (visibility-filtered)") continue existing_config = None - filename_list = [".github/dependabot.yml", ".github/dependabot.yaml"] - dependabot_filename_to_use = None + filename_list = [".github/dependabot.yaml", ".github/dependabot.yml"] + dependabot_filename_to_use = filename_list[0] # Default to the first filename for filename in filename_list: existing_config = check_existing_config(repo, filename, update_existing) if existing_config: