mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 04:58:01 +00:00
ci: reduce the list of events triggering matrix messages (#547)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
name: Pushes release updates to a pre-defined Matrix room
|
||||
name: Pushes release notes to a Matrix room
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- edited
|
||||
- prereleased
|
||||
- published
|
||||
|
||||
jobs:
|
||||
ping_matrix:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -14,5 +13,11 @@ jobs:
|
||||
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}}<br/>Release version [${{github.event.release.tag_name}}](${{github.event.release.html_url}})<br/><br/>***Description:***<br/>${{github.event.release.body}}<br/>"
|
||||
message: |
|
||||
A (pre)release has been ${{github.event.action}} in **${{github.event.repository.full_name}}:**<br/>
|
||||
Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
|
||||
|
||||
-----
|
||||
|
||||
${{github.event.release.body}}
|
||||
server: "matrix.parity.io"
|
||||
|
||||
Reference in New Issue
Block a user