Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Cleanly truncate Discord release notes

Joseph T. Lyonsf724b6d032c8
diff --git a/.github/workflows/release_actions.yml b/.github/workflows/release_actions.yml
index 550eda882be..a72abf300d4 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/[email protected]
+ uses: 2428392/[email protected]
id: get-content
with:
stringToTruncate: |
@@ -24,6 +24,7 @@ jobs:
${{ github.event.release.body }}
maxLength: 2000
+ truncationSymbol: "..."
- name: Discord Webhook Action
uses: tsickert/[email protected]
with: