Skip to content

Commit

Permalink
Automate Discord Notification for New Releases (#4918)
Browse files Browse the repository at this point in the history
* Create discord_notify.yml

Add GitHub Action for Discord release notifications

* Rename discord_notify.yml to discord-notify.yml

---------

Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 23, 2023
1 parent 161e831 commit 3d9f652
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/discord-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Notify Discord on Release

on:
release:
types: [published]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Notification to Discord
uses: Ilshidur/action-discord@2.4.0
with:
args: "A new release of ibc-go has been tagged! View it here: ${{ github.event.release.html_url }}"
webhook: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 3d9f652

Please sign in to comment.