We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099ed8a commit 80aa177Copy full SHA for 80aa177
1 file changed
.github/workflows/discord_announcement.yml
@@ -23,13 +23,14 @@ jobs:
23
id: changelog
24
run: |
25
echo 'DISCORD_MESSAGE<<EOF' >> $GITHUB_OUTPUT
26
+ echo '# ${{ inputs.plugin_name }} Release' >> $GITHUB_OUTPUT
27
awk '/^## \[/{if (p) exit; p=1} p' CHANGELOG.md >> $GITHUB_OUTPUT
28
echo 'EOF' >> $GITHUB_OUTPUT
29
- name: Send changlog to Discord
30
uses: Ilshidur/action-discord@0.3.2
31
env:
32
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
- DISCORD_USERNAME: "${{ inputs.plugin_name }} Release"
33
+ DISCORD_USERNAME: "AstroNvim Releases"
34
DISCORD_AVATAR: "https://avatars.githubusercontent.com/u/141652974?v=4"
35
DISCORD_EMBEDS: '[{
36
"title": "${{ inputs.plugin_name }} Release on GitHub",
0 commit comments