mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +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):
|
def should_skip(issue):
|
||||||
"""Check if issue should be skipped in duplicate detection process."""
|
"""Check if issue should be skipped in duplicate detection process."""
|
||||||
if issue["type"] not in ["Bug", "Crash"]:
|
if issue["type"] and issue["type"] not in ["Bug", "Crash"]:
|
||||||
log(f" Skipping: issue type '{issue['type']}' is not a bug/crash report")
|
log(f" Skipping: issue type '{issue['type']}' is not blank and not a bug/crash report")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if issue["author"] and check_team_membership(REPO_OWNER, STAFF_TEAM_SLUG, issue["author"]):
|
if issue["author"] and check_team_membership(REPO_OWNER, STAFF_TEAM_SLUG, issue["author"]):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue