mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-11 12:18:55 +00:00
update bypass owner ci label name
This commit is contained in:
1 parent
1f2ec2169b
commit
68869d733f
1 file changed
+1
-1
+1
-1
@@ -29,7 +29,7 @@ t("Users can only update their own subdomains", (t) => {
|
||||
.map((file) => path.basename(file.name));
|
||||
|
||||
if ((!changedJSONFiles && !deletedFiles) || trustedUsers.includes(prAuthorId)) return t.pass();
|
||||
if (process.env.PR_LABELS && process.env.PR_LABELS.includes("bypass-owner-check")) return t.pass();
|
||||
if (process.env.PR_LABELS && process.env.PR_LABELS.includes("ci: bypass-owner-check")) return t.pass();
|
||||
|
||||
changedJSONFiles.forEach((file) => {
|
||||
const subdomain = file.replace(/\.json$/, "");
|
||||
|
||||
Reference in new issue
Block a user