Skip to content

Commit

Permalink
Merge pull request #180 from rohitinu6/jvedsaqib-patch-4
Browse files Browse the repository at this point in the history
Update update_leaderboard.yml
  • Loading branch information
rohitinu6 authored Oct 25, 2024
2 parents e4c8bd5 + 08ef0cd commit 3012c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_leaderboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install requests PyGithub
- name: Run leaderboard update script
run: |
Expand All @@ -30,6 +30,6 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add leaderboard.md
git commit -m "Update leaderboard"
git push
git add leaderboard.md || echo "No changes to commit" # Prevent errors if there's nothing to commit
git commit -m "Update leaderboard" || echo "No changes to commit"
git push || echo "Nothing to push"

0 comments on commit 3012c70

Please sign in to comment.