v8
Gitea Actions mirrors GitHub Actions env vars and does not expose a flat GITEA_EVENT_PULL_REQUEST_NUMBER. Parse the PR number out of $GITHUB_EVENT_PATH, key platform detection on $GITEA_ACTIONS, and use the correct Accept header for GitHub's diff endpoint. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.2%
Dockerfile
3.8%