feature/Appointment-Booking #2
@ -15,11 +15,11 @@ jobs:
|
|||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v43
|
uses: tj-actions/changed-files@v43
|
||||||
|
|
||||||
- name: Setup Gitea CLI
|
# - name: Setup Gitea CLI
|
||||||
run: |
|
# run: |
|
||||||
curl -o gitea https://dl.gitea.io/gitea-cli/1.5.0/linux-amd64/gitea
|
# curl -o gitea https://dl.gitea.io/gitea-cli/1.5.0/linux-amd64/gitea
|
||||||
chmod +x gitea
|
# chmod +x gitea
|
||||||
./gitea --version
|
# ./gitea --version
|
||||||
- name: Review code
|
- name: Review code
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.token }}
|
GITEA_TOKEN: ${{ secrets.token }}
|
||||||
@ -30,5 +30,5 @@ jobs:
|
|||||||
echo "$comment" >> ollama_review.txt
|
echo "$comment" >> ollama_review.txt
|
||||||
done
|
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
|
shell: bash
|
||||||
Loading…
x
Reference in New Issue
Block a user