diff --git a/.github/workflows/release-bot.yml b/.github/workflows/release-bot.yml
index edd35102a266..8e978932e804 100644
--- a/.github/workflows/release-bot.yml
+++ b/.github/workflows/release-bot.yml
@@ -1,17 +1,32 @@
-name: Pushes release updates to a pre-defined Matrix room
+name: Push release notes to internal release notes channel
on:
release:
types:
- - prereleased
- published
jobs:
ping_matrix:
runs-on: ubuntu-latest
steps:
- - name: send message
+ - name: Internal Release Notes Channel
uses: s3krit/matrix-message-action@v0.0.2
with:
room_id: ${{ secrets.MATRIX_ROOM_ID }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: "**${{github.event.repository.full_name}}:** A release has been ${{github.event.action}}
Release version [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
***Description:***
${{github.event.release.body}}
"
server: "matrix.parity.io"
+
+ - name: Validator Lounge
+ uses: s3krit/matrix-message-action@v0.0.2
+ with:
+ room_id: ${{ secrets.VALIDATOR_LOUNGE_MATRIX_ROOM_ID }}
+ access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
+ message: "***Kusama ${{github.event.release.tag_name}} has been released!***
Please update at your earliest convenience.
${{github.event.release.html_url}}
${{github.event.release.body}}
"
+ server: "matrix.parity.io"
+
+ - name: Kusama Announcements
+ uses: s3krit/matrix-message-action@v0.0.2
+ with:
+ room_id: ${{ secrets.KUSAMA_ANNOUNCEMENTS_MATRIX_ROOM_ID }}
+ access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
+ message: "***Kusama ${{github.event.release.tag_name}} has been released!***
Please update at your earliest convenience.
${{github.event.release.html_url}}
${{github.event.release.body}}
"
+ server: "matrix.parity.io"