From f724b6d032c8ff0fff237ae2b8ab0bbee63b64e9 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Thu, 2 Nov 2023 09:05:16 -0400 Subject: [PATCH] Cleanly truncate Discord release notes --- .github/workflows/release_actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_actions.yml b/.github/workflows/release_actions.yml index 550eda882b..a72abf300d 100644 --- a/.github/workflows/release_actions.yml +++ b/.github/workflows/release_actions.yml @@ -16,7 +16,7 @@ jobs: fi echo "::set-output name=URL::$URL" - name: Get content - uses: 2428392/gh-truncate-string-action@v1.2.0 + uses: 2428392/gh-truncate-string-action@v1.3.0 id: get-content with: stringToTruncate: | @@ -24,6 +24,7 @@ jobs: ${{ github.event.release.body }} maxLength: 2000 + truncationSymbol: "..." - name: Discord Webhook Action uses: tsickert/discord-webhook@v5.3.0 with: