diff --git a/go.mod b/go.mod index 4365cac9..da7c8501 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/alexflint/go-arg v1.4.3 github.com/apex/log v1.9.0 github.com/atc0005/go-ezproxy v0.1.8 - github.com/atc0005/go-teams-notify/v2 v2.7.1 + github.com/atc0005/go-teams-notify/v2 v2.8.0 github.com/pelletier/go-toml/v2 v2.0.9 ) diff --git a/go.sum b/go.sum index ae308233..cfe6530d 100644 --- a/go.sum +++ b/go.sum @@ -12,8 +12,8 @@ github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys= github.com/atc0005/go-ezproxy v0.1.8 h1:E4HxjqONvShmk5Gfavzb8LU0EnStNSPanSAsI2B7YnU= github.com/atc0005/go-ezproxy v0.1.8/go.mod h1:yAISa+7/XoUib5EbE9pOxkwZutG/KOEuoI/JNeUOgrU= -github.com/atc0005/go-teams-notify/v2 v2.7.1 h1:ksY4tG9KAIzx9BJrBYqq5CZaVMk+WrlgsxwrLV5wUVQ= -github.com/atc0005/go-teams-notify/v2 v2.7.1/go.mod h1:wm/+j2d5u6Rg0BeAwp1T5YXhEhf3uRMZAEwP6ZY6TRg= +github.com/atc0005/go-teams-notify/v2 v2.8.0 h1:971J5qivrzBbYMDAdmW7v9s7W2u2jiIRVcY+LaIJqww= +github.com/atc0005/go-teams-notify/v2 v2.8.0/go.mod h1:SIeE1UfCcVRYMqP5b+r1ZteHyA/2UAjzWF5COnZ8q0w= github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -69,7 +69,6 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0= diff --git a/vendor/github.com/atc0005/go-teams-notify/v2/CHANGELOG.md b/vendor/github.com/atc0005/go-teams-notify/v2/CHANGELOG.md index 79c8b7db..6e41b497 100644 --- a/vendor/github.com/atc0005/go-teams-notify/v2/CHANGELOG.md +++ b/vendor/github.com/atc0005/go-teams-notify/v2/CHANGELOG.md @@ -26,6 +26,31 @@ The following types of changes will be recorded in this file: - placeholder +## [v2.8.0] - 2023-07-21 + +### Added + +- `Adaptive Card` format + - (GH-205) Ability to create a Table in AdaptiveCard +- CI + - (GH-232) Add initial automated release notes config + - (GH-233) Add initial automated release build workflow + +### Changed + +- Dependencies + - `stretchr/testify` + - `v1.8.2` to `v1.8.4` +- CI + - (GH-226) Add `quick` Makefile recipe (alias) + - (GH-225) Update vuln analysis GHAW to remove on.push hook + - (GH-230) Disable unsupported build opts in monthly workflow + +### Fixed + +- CI + - (GH-229) Restore local CodeQL workflow + ## [v2.7.1] - 2023-06-09 ### Changed @@ -466,7 +491,8 @@ The following types of changes will be recorded in this file: - add initial functionality of sending messages to MS Teams channel -[Unreleased]: https://github.com/atc0005/go-teams-notify/compare/v2.7.1...HEAD +[Unreleased]: https://github.com/atc0005/go-teams-notify/compare/v2.8.0...HEAD +[v2.8.0]: https://github.com/atc0005/go-teams-notify/releases/tag/v2.8.0 [v2.7.1]: https://github.com/atc0005/go-teams-notify/releases/tag/v2.7.1 [v2.7.0]: https://github.com/atc0005/go-teams-notify/releases/tag/v2.7.0 [v2.6.1]: https://github.com/atc0005/go-teams-notify/releases/tag/v2.6.1 diff --git a/vendor/github.com/atc0005/go-teams-notify/v2/Makefile b/vendor/github.com/atc0005/go-teams-notify/v2/Makefile index f9153454..66e5d3f1 100644 --- a/vendor/github.com/atc0005/go-teams-notify/v2/Makefile +++ b/vendor/github.com/atc0005/go-teams-notify/v2/Makefile @@ -101,6 +101,11 @@ pristine: goclean gitclean all: clean build @echo "Completed build process ..." +.PHONY: quick +## quick: alias for build recipe +quick: clean build + @echo "Completed tasks for quick build" + .PHONY: build ## build: ensure that packages build build: diff --git a/vendor/github.com/atc0005/go-teams-notify/v2/README.md b/vendor/github.com/atc0005/go-teams-notify/v2/README.md index e1484e11..d474e2e2 100644 --- a/vendor/github.com/atc0005/go-teams-notify/v2/README.md +++ b/vendor/github.com/atc0005/go-teams-notify/v2/README.md @@ -27,6 +27,7 @@ A package to send messages to a Microsoft Teams channel. - [Examples](#examples) - [Basic](#basic) - [User Mention](#user-mention) + - [Tables](#tables) - [Set custom user agent](#set-custom-user-agent) - [Add an Action](#add-an-action) - [Disable webhook URL prefix validation](#disable-webhook-url-prefix-validation) @@ -201,6 +202,15 @@ is not available in the legacy `MessageCard` card format. - File: [user-mention-verbose](./examples/adaptivecard/user-mention-verbose/main.go) - this example does not necessarily reflect an optimal implementation +#### Tables + +These examples illustrates the use of a [`Table`][adaptivecard-table]. This +feature is not available in the legacy `MessageCard` card format. + +- File: [table-manually-created](./examples/adaptivecard/table-manually-created/main.go) +- File: [table-unordered-grid](./examples/adaptivecard/table-unordered-grid/main.go) +- File: [table-with-headers](./examples/adaptivecard/table-with-headers/main.go) + #### Set custom user agent This example illustrates setting a custom user agent. @@ -280,3 +290,4 @@ using either this library or the original project. [adaptivecard-ref]: [adaptivecard-ref-actions]: [adaptivecard-user-mentions]: +[adaptivecard-table]: diff --git a/vendor/modules.txt b/vendor/modules.txt index 002b0ba9..1e565ce6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -19,7 +19,7 @@ github.com/apex/log/handlers/text ## explicit; go 1.19 github.com/atc0005/go-ezproxy github.com/atc0005/go-ezproxy/activefile -# github.com/atc0005/go-teams-notify/v2 v2.7.1 +# github.com/atc0005/go-teams-notify/v2 v2.8.0 ## explicit; go 1.14 github.com/atc0005/go-teams-notify/v2 github.com/atc0005/go-teams-notify/v2/messagecard