v7
Git operations inside the Docker container have no auth credentials
(actions/checkout@v5 stores them in $RUNNER_TEMP, not mounted).
Instead of fighting git auth, fetch the diff directly from the
Gitea API: GET /repos/{owner}/{repo}/pulls/{index}.diff
This uses the same token already passed for posting comments.
No pre-fetch workflow step needed. No git required in the container.
Also filters excluded patterns (lockfiles, etc.) from the API diff.
Description
This gittea action should use the pi agent framework to run a review through an AI provider and post a comment.
Languages
Shell
96%
Dockerfile
4%