Duplicates bot: Stop skipping blank issues (#57643)

We regularly get a certain amount of 'blank' issues on github — those
created bypassing all our templates — and since a fair share of them are
bug reports, it would be helpful for the person triaging if the
duplicates bot has left suggestions on these issues too.

Release Notes:

- N/A
This commit is contained in:
Lena 2026-05-25 14:20:10 +02:00 committed by GitHub
parent d3a9fd96a3
commit bc41407a5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]):