fix: invert non-gittensor label condition

This commit is contained in:
sure-admin
2026-05-24 15:32:04 +00:00
parent 8c07236f71
commit 979dc56e4a

View File

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