Update results #360
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update results | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # Runs at 00:00 UTC every day | |
| workflow_dispatch: # Allows manual trigger from GitHub UI | |
| permissions: | |
| contents: write | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Set up Deno | |
| uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: latest | |
| - name: Run conversion script | |
| run: uv run handling/convert_pickle.py | |
| # - name: Also update with Yupp | |
| # run: deno run --allow-all handling/yupp-fetcher.ts | |
| - name: Also update image models | |
| run: uv run handling/convert_aa.py | |
| - name: Also update pricing | |
| run: deno run --allow-all handling/openrouter-updater.js | |
| - name: Commit report | |
| run: | | |
| git config --global user.name 'GitHub Actions' | |
| git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
| git commit -am "Update results" || : | |
| git push |