Skip to content

update leaderboard #28619

update leaderboard

update leaderboard #28619

---
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:
HUBSPOT_SECRET: '${{ secrets.HUBSPOT_SECRET }}'
GOERLI_API_KEY: '${{ secrets.GOERLI_API_KEY }}'
SEPOLIA_API_KEY: '${{ secrets.SEPOLIA_API_KEY }}'
ARB_SEPOLIA_API_KEY: '${{ secrets.ARB_SEPOLIA_API_KEY }}'
OPT_SEPOLIA_API_KEY: '${{ secrets.OPT_SEPOLIA_API_KEY }}'
AMOY_API_KEY: '${{ secrets.AMOY_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