Skip to content

Commit 2eb0d6a

Browse files
ci: release announcement (#20238)
1 parent b2b2459 commit 2eb0d6a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release Announcement
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
github-releases-to-discord:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
12+
13+
- name: GitHub Releases to Discord
14+
uses: SethCohen/github-releases-to-discord@b96a33520f8ad5e6dcdecee6f1212bdf88b16550 # v1.19.0
15+
with:
16+
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
17+
color: "2105893"
18+
username: "webpack Release Changelog"
19+
avatar_url: "https://github.com/webpack/media/blob/90b54d02fa1cfc8aa864a8322202f74ac000f5d2/logo/icon.png"
20+
content: "||@here||"
21+
footer_title: "Changelog"
22+
reduce_headings: true

0 commit comments

Comments
 (0)