From b37009b766c937bfdb190ebc05a3fad064a82d33 Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Thu, 26 Feb 2026 10:27:55 +0200 Subject: [PATCH] cleanup: remove M4 debug logging from run.ts Debug logging confirmed Forgejo sends 'label_updated' as eventAction for issues/labeled events. Normalization fix in context.ts handles it. Remove temporary debug lines. Co-Authored-By: Claude Opus 4.6 --- src/entrypoints/run.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/entrypoints/run.ts b/src/entrypoints/run.ts index ca24252..b79d7bb 100644 --- a/src/entrypoints/run.ts +++ b/src/entrypoints/run.ts @@ -142,19 +142,6 @@ async function run() { // Phase 1: Prepare const actionInputsPresent = collectActionInputsPresence(); context = parseGitHubContext(); - // Debug: dump event details for issues events (M4 debugging) - if (context.eventName === "issues") { - console.log( - `[debug] issues event — eventAction: ${(context as any).eventAction}`, - ); - console.log( - `[debug] payload.action: ${(context as any).payload?.action}`, - ); - console.log( - `[debug] payload.label: ${JSON.stringify((context as any).payload?.label)}`, - ); - console.log(`[debug] LABEL_TRIGGER env: ${process.env.LABEL_TRIGGER}`); - } const modeName = detectMode(context); console.log( `Auto-detected mode: ${modeName} for event: ${context.eventName}`,