Skip to content

Commit

Permalink
don't post updates edits
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Aug 21, 2024
1 parent e1008b7 commit db16741
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/handlers/project_goals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
let number = issue.number;
let action_str = match action {
IssueCommentAction::Created => "posted",
IssueCommentAction::Edited => "edited",
IssueCommentAction::Deleted => "deleted",

// Don't spam for updates, deletes
_ => return Ok(()),
};
let zulip_topic_name = zulip_topic_name(issue);
let url = &comment.html_url;
Expand Down

0 comments on commit db16741

Please sign in to comment.