mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 01:01:04 +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:
|
on:
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- edited
|
|
||||||
- prereleased
|
|
||||||
- published
|
- published
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ping_matrix:
|
ping_matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -14,5 +13,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
room_id: ${{ secrets.MATRIX_ROOM_ID }}
|
room_id: ${{ secrets.MATRIX_ROOM_ID }}
|
||||||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
|
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"
|
server: "matrix.parity.io"
|
||||||
|
|||||||
Reference in New Issue
Block a user