Spaces:
Running
Running
David Pomerenke
commited on
Commit
·
9851df9
1
Parent(s):
6dd85c2
Use GH_PAT
Browse files
.github/workflows/nightly-evals.yml
CHANGED
|
@@ -31,12 +31,14 @@ jobs:
|
|
| 31 |
uv run evals/main.py
|
| 32 |
|
| 33 |
- name: Commit changes
|
|
|
|
|
|
|
| 34 |
run: |
|
| 35 |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
| 36 |
git config --local user.name "github-actions[bot]"
|
| 37 |
git add results.json models.json languages.json
|
| 38 |
git commit -m "Update evaluation results [skip ci]" || echo "No changes to commit"
|
| 39 |
-
git push https
|
| 40 |
|
| 41 |
- name: Upload to Hugging Face
|
| 42 |
env:
|
|
|
|
| 31 |
uv run evals/main.py
|
| 32 |
|
| 33 |
- name: Commit changes
|
| 34 |
+
env:
|
| 35 |
+
GH_PAT: ${{ secrets.GH_PAT }}
|
| 36 |
run: |
|
| 37 |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
| 38 |
git config --local user.name "github-actions[bot]"
|
| 39 |
git add results.json models.json languages.json
|
| 40 |
git commit -m "Update evaluation results [skip ci]" || echo "No changes to commit"
|
| 41 |
+
git push https://x-access-token:${GH_PAT}@github.com/datenlabor-bmz/ai-language-monitor.git HEAD:${GITHUB_REF}
|
| 42 |
|
| 43 |
- name: Upload to Hugging Face
|
| 44 |
env:
|