We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46198ae commit 405f57aCopy full SHA for 405f57a
site/src/request_handlers/github.rs
@@ -56,6 +56,11 @@ async fn handle_issue(
56
issue: github::Issue,
57
comment: github::Comment,
58
) -> ServerResult<github::Response> {
59
+ // Do not react to our own comments, to avoid funny loops :)
60
+ if comment.user.login == "rust-timer" {
61
+ return Ok(github::Response);
62
+ }
63
+
64
let gh_client = client::Client::from_ctxt(&ctxt, RUST_REPO_GITHUB_API_URL.to_owned());
65
if comment.body.contains(" homu: ") {
66
if let Some(sha) = parse_homu_comment(&comment.body).await {
0 commit comments