We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 932f4c0 commit 8a35366Copy full SHA for 8a35366
1 file changed
.github/workflows/discord_announcement.yml
@@ -6,6 +6,11 @@ on:
6
DISCORD_WEBHOOK_URL:
7
description: "The webhook URL to push to"
8
required: true
9
+ inputs:
10
+ plugin_name:
11
+ description: "Name of the neovim plugin"
12
+ required: true
13
+ type: string
14
15
jobs:
16
github-releases-to-discord:
@@ -23,12 +28,8 @@ jobs:
23
28
uses: Ilshidur/action-discord@0.3.2
24
29
env:
25
30
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
26
- DISCORD_USERNAME: "AstroNvim Releases"
31
+ DISCORD_USERNAME: "${{ inputs.plugin_name }} Release"
27
32
DISCORD_AVATAR: "https://avatars.githubusercontent.com/u/141652974?v=4"
- DISCORD_EMBEDS: '[{
- "title": "${{github.event.repository.name}}",
- "color": 5285097,
- "footer": {"text": "Changelog"}
- }]'
33
+ DISCORD_EMBEDS: "[]"
34
with:
35
args: "${{ steps.changelog.outputs.DISCORD_MESSAGE }}"
0 commit comments