mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 04:44:30 +00:00
Cleanly truncate Discord release notes
This commit is contained in:
parent
6d2e1a8e76
commit
f724b6d032
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release_actions.yml
vendored
3
.github/workflows/release_actions.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue