mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
0d5a48dcc9
* WIP * Fix usage of the s3krit/walking-tag-action action * Fix notification jobs * Fix notification content --------- Co-authored-by: parity-processbot <>
32 lines
962 B
YAML
32 lines
962 B
YAML
name: Pushes release updates to a pre-defined Matrix room
|
|
on:
|
|
release:
|
|
types:
|
|
- edited
|
|
- prereleased
|
|
- published
|
|
jobs:
|
|
ping_matrix:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
channel:
|
|
- name: 'General: Rust, Polkadot, Substrate'
|
|
room: '!aJymqQYtCjjqImFLSb:parity.io'
|
|
pre-release: false
|
|
|
|
steps:
|
|
- name: send message
|
|
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
|
|
with:
|
|
room_id: ${{ matrix.channel.room }}
|
|
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
|
|
server: "m.parity.io"
|
|
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}})
|
|
|
|
-----
|
|
|
|
${{github.event.release.body}}<br/>
|