From 7706a4381ad8194ee487e9d73b93698e99160338 Mon Sep 17 00:00:00 2001 From: Sammybams Date: Wed, 25 Sep 2024 12:00:21 +0100 Subject: [PATCH] Updates to repo leaderboard. --- ...erboard-and-resize-images.yml => update-leaderboard.yml} | 0 update_leaderboard.py | 6 +----- 2 files changed, 1 insertion(+), 5 deletions(-) rename .github/workflows/{update-leaderboard-and-resize-images.yml => update-leaderboard.yml} (100%) diff --git a/.github/workflows/update-leaderboard-and-resize-images.yml b/.github/workflows/update-leaderboard.yml similarity index 100% rename from .github/workflows/update-leaderboard-and-resize-images.yml rename to .github/workflows/update-leaderboard.yml diff --git a/update_leaderboard.py b/update_leaderboard.py index 325ebfe..d507c79 100644 --- a/update_leaderboard.py +++ b/update_leaderboard.py @@ -127,7 +127,7 @@ def leaderboard_data(): --- -*Want to see your name on the leaderboard? Contribute to our project on [GitHub](https://github.com/mlsanigeria/AI-Hacktober-MLSA) and make an impact!* +*Want to see your name on the leaderboard? Contribute to our project on [GitHub](https://github.com/mlsanigeria/speak-to-docs) and make an impact!* """.format("\n".join( f"| {entry['position']} | {entry['rank']} | {entry['avi']} | {entry['contributor']} | {entry['merged_prs']} |" @@ -140,10 +140,6 @@ def leaderboard_data(): print("successfully updated LEADERBOARD.md") - - - - # filter only the top 10 contributors max_position = 10 filtered_data = [contributor for contributor in leaderboard_data if contributor['position'] <= max_position]