Skip to content

Commit

Permalink
Update gitdiff-msteams.sh
Browse files Browse the repository at this point in the history
Modified description
  • Loading branch information
mopi3456 authored Jan 28, 2025
1 parent 74c9945 commit 54d45c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extra/gitdiff-msteams.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
# timeout: 120
#
# Add webhook to your MS Teams channel and set the next variable to the full url
# If INCLUDE_GITHUB_LINK is set to true, there will be a button that links to GITURL in the bottom of each teams post. the commit id is added at the end of the url.
# MAXSIZE is set to respect the 28 KB limit for teams webhooks, but you might need to change it if you modify the Adaptive Card

weburl="https://contoso.webhook.office.com/webhookb2/etc etc etc"
GITURL="https://github.example.com/My-org/oxidized/commit/"
INCLUDE_GITHUB_LINK=false
# Max size before shortening
# Max size for summary text.
MAXSIZE=24500

if [ "$INCLUDE_GITHUB_LINK" = true ]; then
Expand Down

0 comments on commit 54d45c3

Please sign in to comment.