From 5641d6bac5aa501308f7a700624e81c6cdc52209 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 22 Jun 2026 10:40:46 +0200 Subject: [PATCH] fix: clear untriaged when no-action is added --- .github/workflows/issue-triage-labels.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/issue-triage-labels.yml b/.github/workflows/issue-triage-labels.yml index ebe5500c..0e6204d5 100644 --- a/.github/workflows/issue-triage-labels.yml +++ b/.github/workflows/issue-triage-labels.yml @@ -53,6 +53,11 @@ jobs: return; } + if (context.payload.action === 'labeled' && context.payload.label?.name === NO_ACTION_LABEL) { + await removeLabelIfPresent(context.issue.number, context.payload.issue, UNTRIAGED_LABEL); + return; + } + if (context.payload.action !== 'labeled' || context.payload.label?.name !== LAST_READ_LABEL) { console.log('Not a last-read label event'); return;