mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 07:02:27 +03:00
Cleanly truncate Discord release notes
This commit is contained in:
parent
6d2e1a8e76
commit
f724b6d032
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 New Issue
Block a user