We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac951bd + f7e3acd commit 1faafe0Copy full SHA for 1faafe0
.github/workflows/update-readme.yml
@@ -26,12 +26,15 @@ jobs:
26
- name: Generate leaderboard
27
run: node profile/scripts/updateReadme.js
28
env:
29
- GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
+ PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
30
31
- name: Commit & push changes
32
+ env:
33
34
run: |
35
git config --global user.name "github-actions[bot]"
36
git config --global user.email "github-actions[bot]@users.noreply.github.com"
37
+ git remote set-url origin https://x-access-token:${PAT_TOKEN}@github.com/${{ github.repository }}.git
38
git add profile/README.md
39
git commit -m "Update leaderboard" || echo "No changes"
40
git push origin HEAD:main
0 commit comments