Skip to content

Commit 8a35366

Browse files
committed
fix(discord_announcement): work on formatting
1 parent 932f4c0 commit 8a35366

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/discord_announcement.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
DISCORD_WEBHOOK_URL:
77
description: "The webhook URL to push to"
88
required: true
9+
inputs:
10+
plugin_name:
11+
description: "Name of the neovim plugin"
12+
required: true
13+
type: string
914

1015
jobs:
1116
github-releases-to-discord:
@@ -23,12 +28,8 @@ jobs:
2328
uses: Ilshidur/action-discord@0.3.2
2429
env:
2530
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
26-
DISCORD_USERNAME: "AstroNvim Releases"
31+
DISCORD_USERNAME: "${{ inputs.plugin_name }} Release"
2732
DISCORD_AVATAR: "https://avatars.githubusercontent.com/u/141652974?v=4"
28-
DISCORD_EMBEDS: '[{
29-
"title": "${{github.event.repository.name}}",
30-
"color": 5285097,
31-
"footer": {"text": "Changelog"}
32-
}]'
33+
DISCORD_EMBEDS: "[]"
3334
with:
3435
args: "${{ steps.changelog.outputs.DISCORD_MESSAGE }}"

0 commit comments

Comments
 (0)