Markus Hofstetter 7e6b266c34 fix: resolve PR number from event payload for Gitea Actions
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>
2026-05-22 23:58:38 +02:00
2026-05-18 22:11:52 +02:00
S
Description
This gittea action should use the pi agent framework to run a review through an AI provider and post a comment.
92 KiB
Languages
Shell 96.2%
Dockerfile 3.8%