forked from mui/mui-x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[support-infra] Add release announcement to GitHub workflows (mui#11867…
…) (mui#12843) Signed-off-by: Michel Engelen <[email protected]> Co-authored-by: Olivier Tassinari <[email protected]>
- Loading branch information
1 parent
28653d8
commit 75502c2
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Discord Release Announcement | ||
|
||
on: | ||
release: | ||
types: [prereleased, published] | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
delimiter-test: | ||
runs-on: ubuntu-latest | ||
name: Send message to discord | ||
steps: | ||
- name: parse and send message | ||
uses: michelengelen/discord-message-action@02af30a15955ecf718049bc33b0efabf6f626e0b | ||
with: | ||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} | ||
username: MUI Releases | ||
avatar-url: 'https://raw.githubusercontent.com/mui/material-ui/master/docs/public/static/logo.png' | ||
separator: '<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters