name: Send new release notification to matrix channels on: release: types: - published jobs: ping_matrix: strategy: matrix: channel: - '!LhjZccBOqFNYKLdmbb:polkadot.builders' # #KusamaValidatorLounge:polkadot.builders - '!FMwxpQnYhRCNDRsYGI:matrix.parity.io' # #kusama-announcements:matrix.parity.io - '!NZrbtteFeqYKCUGQtr:matrix.parity.io' # #polkadotvalidatorlounge:web3.foundation - '!UqHPWiCBGZWxrmYBkF:matrix.parity.io' # #polkadot-announcements:matrix.parity.io - '!NTogofoetwjbTwOoPi:matrix.parity.io' # Internal release-notes channel runs-on: ubuntu-latest steps: - uses: s3krit/matrix-message-action@v0.0.3 with: room_id: ${{ matrix.channel }} # heh access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} message: "***Polkadot ${{github.event.release.tag_name}} has been released!***
${{github.event.release.html_url}}

${{github.event.release.body}}
" server: "matrix.parity.io"