Skip to content
Snippets Groups Projects
Commit eda565a0 authored by Chevdor's avatar Chevdor Committed by GitHub
Browse files

ci: reduce the list of events triggering matrix messages (#547)

parent 1b92af90
Branches
No related merge requests found
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"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment