Markus Hofstetter 81edd958f9 fix: diff generation for PR checkouts
actions/checkout for PRs only fetches refs/pull/N/head into FETCH_HEAD.
Remote tracking branches (origin/main) don't exist.

Fix: explicit refspec fetch (refs/heads/main:refs/remotes/origin/main)
with fallback to GITEA_BASE_REF / GITHUB_BASE_REF for the target branch.
Also removed --filter=blob:none which could cause empty diffs.
Added diagnostic logging for base ref and file stats.
2026-05-19 00:47:01 +02:00
2026-05-18 22:11:52 +02:00
Description
This gittea action should use the pi agent framework to run a review through an AI provider and post a comment.
65 KiB
Languages
Shell 96%
Dockerfile 4%