Files
pm/.gitea/workflows/gemini-review.yml
KoCoder 885eeea339
Some checks failed
Gemini Writing Review / gemini-review (pull_request) Failing after 9s
Word Count / count-words (pull_request) Successful in 6s
New: fix paths
2026-02-27 22:35:27 +00:00

30 lines
734 B
YAML

name: Gemini Writing Review
on:
pull_request:
types: [opened, synchronized, reopened]
jobs:
gemini-review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run Gemini Review
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_URL: ${{ github.server_url }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
go run scripts/gemini_review/main.go