Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix: invert non-gittensor label condition (#1960)

Sure Admin (bot)89f42497a995
diff --git a/.github/workflows/label-not-gittensor.yml b/.github/workflows/label-not-gittensor.yml
index bfd74f8222..7b846e8f7a 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;
}