diff --git a/.github/scripts/get_min_versions.py b/.github/scripts/get_min_versions.py index ede863467f484..d0be80210d501 100644 --- a/.github/scripts/get_min_versions.py +++ b/.github/scripts/get_min_versions.py @@ -67,7 +67,7 @@ def get_min_version_from_toml( min_versions = {} # Iterate over the libs in MIN_VERSION_LIBS - for lib in MIN_VERSION_LIBS: + for lib in set(MIN_VERSION_LIBS + (include or [])): if versions_for == "pull_request" and lib in SKIP_IF_PULL_REQUEST: # some libs only get checked on release because of simultaneous # changes