Skip to content

Update Providers

Update Providers #129

Workflow file for this run

name: Update Providers
on:
schedule:
- cron: "0 2 * * *" # Run nightly at 2 AM UTC
workflow_dispatch: # Allow manual triggering
jobs:
update-schema:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- run: go run ./cmd/openrouter/main.go
# we need to add this back when we know that the providers/models all work
# - run: go run ./cmd/huggingface/main.go
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v5
with:
commit_message: "chore: auto-update generated files"
branch: main
commit_user_name: Charm
commit_user_email: [email protected]
commit_author: Charm <[email protected]>