Skip to content

update leaderboard #20383

update leaderboard

update leaderboard #20383

---
name: update leaderboard
on:
schedule:
- cron: "*/30 * * * *"
workflow_dispatch:
jobs:
crawl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: update
fetch-depth: 0
- run: yarn
- run: yarn "leaderboard:triggerNextCrawl"
env:
GOERLI_API_KEY: '${{ secrets.GOERLI_API_KEY }}'
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "Add changes"
- name: Push changes
uses: ad-m/github-push-action@master
with:
force_with_lease: true
branch: update