Skip to content

Commit b8284cc

Browse files
BaptisteGifatih-acarcoderabbitai[bot]
authored
Github action to push release note to Discord (#7594)
* Add github action to publish release note to discord * Add link to github * Try manual trigger * Update .github/workflows/github-releases-to-discord.yml Co-authored-by: fatih-acar <[email protected]> * Update .github/workflows/github-releases-to-discord.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Set the correct trigger * Use rigth version * Fix yaml lint issue --------- Co-authored-by: fatih-acar <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent bf58868 commit b8284cc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
# https://github.com/SethCohen/github-releases-to-discord
3+
# yamllint disable rule:truthy
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
github-releases-to-discord:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: GitHub Releases to Discord
15+
uses: SethCohen/github-releases-to-discord@b96a33520f8ad5e6dcdecee6f1212bdf88b16550
16+
with:
17+
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
18+
color: "2105893"
19+
# username: "Release Changelog"
20+
# avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
21+
# content: "||@everyone||"
22+
footer_title: "Changelog"
23+
reduce_headings: true

0 commit comments

Comments
 (0)