Files
pezkuwi-subxt/substrate/.github/workflows/release-bot.yml
T
Chevdor 0d5a48dcc9 Update Matrix and secrets (#14646)
* WIP

* Fix usage of the s3krit/walking-tag-action action

* Fix notification jobs

* Fix notification content

---------

Co-authored-by: parity-processbot <>
2023-07-28 13:06:13 +00:00

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/>