Unverified Commit 6428b4e9 authored by synaptic-cleft's avatar synaptic-cleft Committed by GitHub
Browse files

Merge pull request #5 from privacybydesign/fix-slack-notifications

Fix Slack @channel notifications
parents 30ccfd2a 49c0d77d
Pipeline #60671 passed with stage
in 39 seconds
......@@ -9,7 +9,6 @@ package main
import (
"flag"
"fmt"
"github.com/hashicorp/go-retryablehttp"
"html/template"
"io/ioutil"
"log"
......@@ -19,6 +18,8 @@ import (
"strings"
"time"
"github.com/hashicorp/go-retryablehttp"
irma "github.com/privacybydesign/irmago"
"github.com/ashwanthkumar/slack-go-webhook"
......@@ -248,7 +249,7 @@ func pushToSlack(newIssues, fixedIssues issueEntries, initial bool) {
if len(dangers) > 0 {
// Add mention such that notifications for warnings can be suppressed.
message := "@channel New issues discovered."
message := "<!channel> New issues discovered."
var attachments []slack.Attachment
for _, msg := range dangers {
msg := msg
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment