From 9ca6edefdc8b24fc59794f9676e8a12a57dbe24a Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Mon, 19 Feb 2024 17:05:53 +0300 Subject: [PATCH] Convert milestone to int in ruby script (#1001) --- updater/bin/update_script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/bin/update_script.rb b/updater/bin/update_script.rb index 884e5b6c..c9935e33 100644 --- a/updater/bin/update_script.rb +++ b/updater/bin/update_script.rb @@ -63,7 +63,7 @@ reviewers: nil, # nil instead of empty array to avoid API rejection assignees: nil, # nil instead of empty array to avoid API rejection branch_name_separator: ENV["DEPENDABOT_BRANCH_NAME_SEPARATOR"] || "/", # Separator used for created branches. - milestone: ENV["DEPENDABOT_MILESTONE"] || nil, # Get the work item to attach + milestone: ENV["DEPENDABOT_MILESTONE"].to_i || nil, # Get the work item to attach vendor_dependencies: ENV["DEPENDABOT_VENDOR"] == "true", repo_contents_path: ENV["DEPENDABOT_REPO_CONTENTS_PATH"] || nil, updater_options: {},