mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
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:
parent
d3a9fd96a3
commit
bc41407a5e
1 changed files with 2 additions and 2 deletions
|
|
@ -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"]):
|
||||
|
|
|
|||
Loading…
Reference in a new issue