name: Release - Pushes release notes to a Matrix room on: release: types: - published jobs: ping_matrix: runs-on: ubuntu-latest strategy: matrix: channel: - name: 'Cumulus Release Coordination' room: '!ZrLPsivsytpkdJfVaa:matrix.parity.io' pre-releases: true - name: 'Ledger <> Polkadot Coordination' room: '!EoIhaKfGPmFOBrNSHT:web3.foundation' pre-release: true steps: - name: Matrix notification to ${{ matrix.channel.name }} uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 with: room_id: ${{ matrix.channel.room }} access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} server: "matrix.parity.io" message: | A (pre)release has been ${{github.event.action}} in **${{github.event.repository.full_name}}:**
Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}}) ----- ${{github.event.release.body}}