1# Copyright 2022 The ChromiumOS Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from recipe_engine.post_process import Filter 6 7DEPS = [ 8 "crosvm", 9 "recipe_engine/context", 10 "recipe_engine/step", 11] 12 13 14def RunSteps(api): 15 with api.crosvm.source_context(): 16 api.step( 17 "Update Merges", 18 [ 19 "vpython3", 20 "./tools/chromeos/merge_bot", 21 "--verbose", 22 "update-merges", 23 "--is-bot", 24 "origin/main", 25 ], 26 ) 27 28 29def GenTests(api): 30 yield (api.test("basic") + api.post_process(Filter().include_re(r"Update .*"))) 31