fix: always resolve Gitea run ID via API when in Gitea mode

This commit is contained in:
yiqingxiong 2026-01-31 15:55:51 +08:00
parent 8bbd3ab4ec
commit 2008050d0a

View File

@ -78,8 +78,8 @@ export async function setupGiteaRunId(
owner: string,
repo: string,
): Promise<void> {
// Only proceed if we're in Gitea and don't already have a run ID
if (!USE_GITEA_API || process.env.GITHUB_RUN_ID) {
// Only proceed if we're in Gitea mode
if (!USE_GITEA_API) {
return;
}