Skip to content

Update Models

Update Models #77

Workflow file for this run

name: Update Models
on:
workflow_dispatch: {}
schedule:
- cron: '0 10 * * 1'
jobs:
update-models:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check for model updates
run: pnpm update-models
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.BOT_GITHUB_SECRET }}
title: Update models from huggingface
commit-message: Update models
branch: model-updates
delete-branch: true