Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): bump github.com/atc0005/go-teams-notify/v2 from 2.6.1 to 2.7.0 #3638

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
code.gitea.io/sdk/gitea v0.15.1
github.com/Masterminds/semver/v3 v3.2.0
github.com/atc0005/go-teams-notify/v2 v2.6.1
github.com/atc0005/go-teams-notify/v2 v2.7.0
github.com/caarlos0/ctrlc v1.2.0
github.com/caarlos0/env/v6 v6.10.1
github.com/caarlos0/go-reddit/v3 v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -237,8 +237,8 @@ github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6l
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
github.com/atc0005/go-teams-notify/v2 v2.6.1 h1:t22ybzQuaQs4UJe4ceF5VYGsPhs6ir3nZOId/FBy6Go=
github.com/atc0005/go-teams-notify/v2 v2.6.1/go.mod h1:xo6GejLDHn3tWBA181F8LrllIL0xC1uRsRxq7YNXaaY=
github.com/atc0005/go-teams-notify/v2 v2.7.0 h1:yRKblRTM/v+FnbibPAQiBcgT+aUBn/8zj9E/UxBdIRg=
github.com/atc0005/go-teams-notify/v2 v2.7.0/go.mod h1:nJeYAr8U1KtT376MUHHiy47nqy/4Mn0UR8veVQxdMcM=
github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
Expand Down
7 changes: 4 additions & 3 deletions internal/pipe/teams/teams.go
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"

goteamsnotify "github.com/atc0005/go-teams-notify/v2"
"github.com/atc0005/go-teams-notify/v2/messagecard"
"github.com/caarlos0/env/v6"
"github.com/caarlos0/log"
"github.com/goreleaser/goreleaser/internal/tmpl"
Expand Down Expand Up @@ -60,12 +61,12 @@ func (p Pipe) Announce(ctx *context.Context) error {

log.Infof("posting: '%s'", msg)

client := goteamsnotify.NewClient()
msgCard := goteamsnotify.NewMessageCard()
client := goteamsnotify.NewTeamsClient()
msgCard := messagecard.NewMessageCard()
msgCard.Summary = title
msgCard.ThemeColor = ctx.Config.Announce.Teams.Color

messageCardSection := goteamsnotify.NewMessageCardSection()
messageCardSection := messagecard.NewSection()
messageCardSection.ActivityTitle = title
messageCardSection.ActivityText = msg
messageCardSection.Markdown = true
Expand Down