diff --git a/.github/scripts/write_repo_contents.py b/.github/scripts/write_repo_contents.py index a6b97c1..94adc9a 100644 --- a/.github/scripts/write_repo_contents.py +++ b/.github/scripts/write_repo_contents.py @@ -73,6 +73,9 @@ if data["software"]["keywords"]: keywords += data["software"]["keywords"] +#ensure keywords have valid format +keywords = [item[:50].lower() for item in keywords] + model_repo.replace_topics(keywords)