- use tea cli
Some checks failed
Ollama Review / review-code-with-llm (pull_request) Failing after 43s
continuous-integration/drone/push Build is failing

This commit is contained in:
oonyeje 2025-03-07 15:42:24 -05:00
parent 6d39e12493
commit 6c64bed454

View File

@ -15,11 +15,11 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v43
- name: Setup Gitea CLI
run: |
curl -o gitea https://dl.gitea.io/gitea-cli/1.5.0/linux-amd64/gitea
chmod +x gitea
./gitea --version
# - name: Setup Gitea CLI
# run: |
# curl -o gitea https://dl.gitea.io/gitea-cli/1.5.0/linux-amd64/gitea
# chmod +x gitea
# ./gitea --version
- name: Review code
env:
GITEA_TOKEN: ${{ secrets.token }}
@ -30,5 +30,5 @@ jobs:
echo "$comment" >> ollama_review.txt
done
./gitea pr comment ${{ gitea.event.pull_request.number }} --body "$(cat ollama_review.txt)"
tea pr comment ${{ gitea.event.pull_request.number }} --body "$(cat ollama_review.txt)"
shell: bash