chore: add discord bot

This commit is contained in:
Even Stensberg 2025-09-15 23:13:40 +02:00
parent ffcbedddd4
commit faaa69dac1
No known key found for this signature in database
GPG Key ID: 3865A86FA6FDA9B2
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
on:
release:
types: [published]
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: GitHub Releases to Discord
uses: SethCohen/github-releases-to-discord@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "2105893"
username: "webpack Release Changelog"
avatar_url: "https://github.com/webpack/media/blob/90b54d02fa1cfc8aa864a8322202f74ac000f5d2/logo/icon.png"
content: "||@everyone||"
footer_title: "Changelog"
reduce_headings: true