Skip to content

Commit 8983820

Browse files
authored
Merge pull request #196 from gbrindisi/fix422
fix: Add a default value for dependabot_filename_to_use
2 parents aca955d + c8919e0 commit 8983820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evergreen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def main(): # pragma: no cover
8080
print("Skipping " + repo.full_name + " (visibility-filtered)")
8181
continue
8282
existing_config = None
83-
filename_list = [".github/dependabot.yml", ".github/dependabot.yaml"]
84-
dependabot_filename_to_use = None
83+
filename_list = [".github/dependabot.yaml", ".github/dependabot.yml"]
84+
dependabot_filename_to_use = filename_list[0] # Default to the first filename
8585
for filename in filename_list:
8686
existing_config = check_existing_config(repo, filename, update_existing)
8787
if existing_config:

0 commit comments

Comments
 (0)