Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Duplicates bot: Stop skipping blank issues (#57643)

Lenabc41407a5e9f
diff --git a/script/github-check-new-issue-for-duplicates.py b/script/github-check-new-issue-for-duplicates.py
index 245d9aaa9a8..9f34e301bf1 100644
--- a/script/github-check-new-issue-for-duplicates.py
+++ b/script/github-check-new-issue-for-duplicates.py
@@ -165,8 +165,8 @@ def fetch_issue(issue_number: int):
def should_skip(issue):
"""Check if issue should be skipped in duplicate detection process."""
- if issue["type"] not in ["Bug", "Crash"]:
- log(f" Skipping: issue type '{issue['type']}' is not a bug/crash report")
+ if issue["type"] and issue["type"] not in ["Bug", "Crash"]:
+ log(f" Skipping: issue type '{issue['type']}' is not blank and not a bug/crash report")
return True
if issue["author"] and check_team_membership(REPO_OWNER, STAFF_TEAM_SLUG, issue["author"]):