Skip to content

Commit 80aa177

Browse files
committed
fix(discord_announcement): improve formatting
1 parent 099ed8a commit 80aa177

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/discord_announcement.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
id: changelog
2424
run: |
2525
echo 'DISCORD_MESSAGE<<EOF' >> $GITHUB_OUTPUT
26+
echo '# ${{ inputs.plugin_name }} Release' >> $GITHUB_OUTPUT
2627
awk '/^## \[/{if (p) exit; p=1} p' CHANGELOG.md >> $GITHUB_OUTPUT
2728
echo 'EOF' >> $GITHUB_OUTPUT
2829
- name: Send changlog to Discord
2930
uses: Ilshidur/action-discord@0.3.2
3031
env:
3132
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
32-
DISCORD_USERNAME: "${{ inputs.plugin_name }} Release"
33+
DISCORD_USERNAME: "AstroNvim Releases"
3334
DISCORD_AVATAR: "https://avatars.githubusercontent.com/u/141652974?v=4"
3435
DISCORD_EMBEDS: '[{
3536
"title": "${{ inputs.plugin_name }} Release on GitHub",

0 commit comments

Comments
 (0)