1
0
Fork 0
forked from infra/ansible
ansible/.forgejo/workflows/ai-review.yaml
Adam Williamson 1bdd2c4529 ai-review: set include_mr_summary false for shorter reviews
This sets a config option that gets ai-code-review to generate
shorter review text. It skips the MR Summary section and just
posts the Detailed Code Review section.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-05-04 14:02:53 -07:00

17 lines
411 B
YAML

---
name: AI Code Review
on:
pull_request_target:
types: [labeled]
jobs:
ai-review:
runs-on: infra-1
if: forgejo.event.label.name == 'ai-review-please'
uses: quality/workflows/.forgejo/workflows/ai-review.yml@main
with:
pr: ${{ forgejo.event.pull_request.number }}
config: |
include_mr_summary: false
secrets:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}