mirror of
https://github.com/we-promise/sure.git
synced 2026-05-27 14:34:56 +00:00
fix: invert non-gittensor label condition (#1960)
This commit is contained in:
2
.github/workflows/label-not-gittensor.yml
vendored
2
.github/workflows/label-not-gittensor.yml
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user