Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Polkadot v1.0.0

Polkadot v1.0.0 #23

Workflow file for this run

name: Release - Send new release notification to matrix channels
on:
release:
types:
- published
jobs:
ping_matrix:
strategy:
matrix:
channel:
- name: '#KusamaValidatorLounge:polkadot.builders'
room: '!LhjZccBOqFNYKLdmbb:polkadot.builders'
pre-releases: false
- name: '#kusama-announcements:matrix.parity.io'
room: '!FMwxpQnYhRCNDRsYGI:matrix.parity.io'
pre-release: false
- name: '#polkadotvalidatorlounge:web3.foundation'
room: '!NZrbtteFeqYKCUGQtr:matrix.parity.io'
pre-release: false
- name: '#polkadot-announcements:matrix.parity.io'
room: '!UqHPWiCBGZWxrmYBkF:matrix.parity.io'
pre-release: false
- name: 'Ledger <> Polkadot Coordination'
room: '!EoIhaKfGPmFOBrNSHT:web3.foundation'
pre-release: true
runs-on: ubuntu-latest
steps:
- name: Send Matrix message to ${{ matrix.channel.name }}
if: github.event.release.prerelease == false || matrix.channel.pre-release
uses: s3krit/[email protected]
with:
room_id: ${{ matrix.channel.room }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
server: "m.parity.io"
message: "***Polkadot ${{github.event.release.tag_name}} has been released!***<br/>${{github.event.release.html_url}}<br/><br/>${{github.event.release.body}}<br/>"