• v7 f1a4958b34

    fix: fetch diff via Gitea/GitHub API instead of git

    dividbzero released this 2026-05-21 01:08:21 +02:00 | 0 commits to main since this release

    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.

    Downloads