Skip to content

Commit

Permalink
Merge pull request #690 from ministryofjustice/friendly-pipe-fail-bot
Browse files Browse the repository at this point in the history
style: 💄 make our namespace apply fail bot reminder kinder
  • Loading branch information
sj-williams authored Feb 3, 2025
2 parents 81875a7 + f238879 commit ff3ec5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/slack/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

func post(user, ts, webhookUrl, buildUrl string) error {
// https://pkg.go.dev/github.com/slack-go/slack#PostWebhook
message := fmt.Sprintf("<@%s> <%s|your build failed>, please address immediately or add a <https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/long-running-env-operations.html|APPLY_PIPELINE_SKIP_THIS_NAMESPACE> to your namespace to prevent our pipelines from being blocked", user, buildUrl)
message := fmt.Sprintf("<@%s> <%s|your build failed>, please review and resolve issues, or add an <https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/concourse-pipelines.html#apply-live-pipelines-and-apply-pipeline-skip-this-namespace|APPLY_PIPELINE_SKIP_THIS_NAMESPACE> to your namespace.", user, buildUrl)

webhookMsg := slack.WebhookMessage{
Channel: "ask-cloud-platform",
Expand Down

0 comments on commit ff3ec5d

Please sign in to comment.