Skip to content

Commit

Permalink
Merge branch 'rohitinu6:main' into stockprice
Browse files Browse the repository at this point in the history
  • Loading branch information
manikjain105 authored Oct 27, 2024
2 parents 5867446 + fbcf275 commit f83807f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/scripts/update_leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def get_closed_prs():
headers = {}

if GITHUB_TOKEN:
print(GITHUB_TOKEN)
headers = {"Authorization": f"token {GITHUB_TOKEN}"}

prs = []
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_leaderboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
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 https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} || echo "Nothing to push"

0 comments on commit f83807f

Please sign in to comment.