From 2008050d0a3e93a0e11170483e3800220401be79 Mon Sep 17 00:00:00 2001 From: yiqingxiong Date: Sat, 31 Jan 2026 15:55:51 +0800 Subject: [PATCH] fix: always resolve Gitea run ID via API when in Gitea mode --- src/github/api/gitea-run-id.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github/api/gitea-run-id.ts b/src/github/api/gitea-run-id.ts index 8adb080..4502832 100644 --- a/src/github/api/gitea-run-id.ts +++ b/src/github/api/gitea-run-id.ts @@ -78,8 +78,8 @@ export async function setupGiteaRunId( owner: string, repo: string, ): Promise { - // 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; }