Unverified Commit 91d155ea authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Avoid duplication in PR slow CI model list (#30634)



update
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent deb7605a
...@@ -142,4 +142,4 @@ if __name__ == "__main__": ...@@ -142,4 +142,4 @@ if __name__ == "__main__":
new_model = get_new_model() new_model = get_new_model()
specified_models = get_models(args.commit_message) specified_models = get_models(args.commit_message)
models = ([] if new_model == "" else [new_model]) + specified_models models = ([] if new_model == "" else [new_model]) + specified_models
print(models) print(sorted(set(models)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment