From 89f42497a9951fbb72ce087dc813ed9973f9e686 Mon Sep 17 00:00:00 2001 From: "Sure Admin (bot)" Date: Sun, 24 May 2026 17:36:17 +0200 Subject: [PATCH] fix: invert non-gittensor label condition (#1960) --- .github/workflows/label-not-gittensor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label-not-gittensor.yml b/.github/workflows/label-not-gittensor.yml index bfd74f822..7b846e8f7 100644 --- a/.github/workflows/label-not-gittensor.yml +++ b/.github/workflows/label-not-gittensor.yml @@ -39,7 +39,7 @@ jobs: const users = new Set(parseList(process.env.GITTENSOR_USERS, 'GITTENSOR_USERS')); const exceptions = new Set(parseList(process.env.GITTENSOR_EXCEPTIONS, 'GITTENSOR_EXCEPTIONS')); - if (!users.has(author) || exceptions.has(author)) { + if (users.has(author) || exceptions.has(author)) { core.info(`No label needed for @${author}.`); return; }