Skip to content

Commit d17ef9c

Browse files
Merge pull request #1910 from ehuss/no-welcome
Temporarily disable new contributor welcomes
2 parents 6a87f1f + 7ac3b9b commit d17ef9c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/handlers/assign.rs

+8-4
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,14 @@ pub(super) async fn handle_input(
169169
// want any assignments or noise.
170170
return Ok(());
171171
}
172-
let welcome = if ctx
173-
.github
174-
.is_new_contributor(&event.repository, &event.issue.user.login)
175-
.await
172+
// This is temporarily disabled until we come up with a better
173+
// solution, or decide to remove this. The `is_new_contributor` query
174+
// is too expensive and takes too long to process.
175+
let welcome = if false
176+
&& ctx
177+
.github
178+
.is_new_contributor(&event.repository, &event.issue.user.login)
179+
.await
176180
{
177181
let who_text = match &assignee {
178182
Some(assignee) => WELCOME_WITH_REVIEWER.replace("{assignee}", assignee),

0 commit comments

Comments
 (0)