From fedeb3237b6d25245f4d770ec105bd538dfee405 Mon Sep 17 00:00:00 2001 From: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> Date: Wed, 27 Mar 2024 21:04:40 +0000 Subject: [PATCH] fix: add main to `generate_repo.py` (#2607) In todays's nightly generation job ([log](https://github.com/googleapis/google-cloud-java/actions/runs/8457767424/job/23170489394)), no actual generation is done. I think this is because `main` method has been removed by #2598. --- library_generation/generate_repo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library_generation/generate_repo.py b/library_generation/generate_repo.py index b33e8ba10a..a4a4a826f2 100755 --- a/library_generation/generate_repo.py +++ b/library_generation/generate_repo.py @@ -155,3 +155,7 @@ def get_target_libraries( for library in config.libraries if library.get_library_name() in target_libraries ] + + +if __name__ == "__main__": + main()