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; }