Skip to content

Commit

Permalink
ci: publish release notes to Discord (#422)
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
fadeev and coderabbitai[bot] authored Nov 1, 2024
1 parent a91ef11 commit df7ee6b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release-to-discord.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
release:
types: [published]

jobs:
github-releases-to-discord:
if: "! contains(github.event.release.tag_name, '-')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Github Releases To Discord
uses: SethCohen/[email protected]
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "2105893"
username: "New Release: Protocol Contracts"
max_description: "4096"
reduce_headings: true
avatar_url: "https://raw.githubusercontent.com/zeta-chain/docs/refs/heads/main/public/img/icons/zetachain/square/white-on-green.png"

0 comments on commit df7ee6b

Please sign in to comment.