Skip to content

Commit

Permalink
Merge pull request #196 from gbrindisi/fix422
Browse files Browse the repository at this point in the history
fix: Add a default value for dependabot_filename_to_use
  • Loading branch information
jmeridth authored Aug 19, 2024
2 parents aca955d + c8919e0 commit 8983820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evergreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8983820

Please sign in to comment.