ci: try to fix commit-pr workflow

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-07-18 19:44:18 +02:00 committed by GitHub
parent 24a8eebcef
commit 031627584b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,9 +8,10 @@ jobs:
MODEL_NAME: hermes-2-theta-llama-3-8b MODEL_NAME: hermes-2-theta-llama-3-8b
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout code
uses: actions/checkout@v3
with: with:
fetch-depth: 0 # needed to checkout all branches for this Action to work ref: "${{ github.event.pull_request.merge_commit_sha }}"
- uses: mudler/localai-github-action@v1 - uses: mudler/localai-github-action@v1
with: with:
model: 'hermes-2-theta-llama-3-8b' # Any from models.localai.io, or from huggingface.com with: "huggingface://<repository>/file" model: 'hermes-2-theta-llama-3-8b' # Any from models.localai.io, or from huggingface.com with: "huggingface://<repository>/file"