Skip to content

Commit

Permalink
test message
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorPopelyaev committed Oct 16, 2024
1 parent c16ac92 commit e73f93c
Showing 1 changed file with 30 additions and 19 deletions.
49 changes: 30 additions & 19 deletions .github/workflows/release-99_notif-published.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Release - Announce release to Matrix rooms
on:
release:
types:
- published
- prereleased
# release:
# types:
# - published
# - prereleased

workflow_dispatch:
inputs:
message:
description: "Message to send to Matrix"
required: false

jobs:
ping_matrix:
Expand All @@ -13,29 +19,33 @@ jobs:
matrix:
channel:
# Internal
- name: "RelEng: Polkadot Release Coordination"
room: '!cqAmzdIcbOFwrdrubV:parity.io'
# - name: "RelEng: Polkadot Release Coordination"
# room: '!cqAmzdIcbOFwrdrubV:parity.io'
# pre-release: true

- name: 'Team: RelEng Internal'
room: '!GvAyzgCDgaVrvibaAF:parity.io'
pre-release: true

# External
- name: 'Ledger <> Polkadot Coordination'
room: '!EoIhaKfGPmFOBrNSHT:web3.foundation'
pre-release: true
# - name: 'Ledger <> Polkadot Coordination'
# room: '!EoIhaKfGPmFOBrNSHT:web3.foundation'
# pre-release: true

# Public
- name: '#polkadotvalidatorlounge:web3.foundation'
room: '!NZrbtteFeqYKCUGQtr:matrix.parity.io'
pre-releases: false
- name: '#polkadot-announcements:parity.io'
room: '!UqHPWiCBGZWxrmYBkF:matrix.parity.io'
pre-releases: false
- name: '#kusama-announce:parity.io'
room: '!FMwxpQnYhRCNDRsYGI:matrix.parity.io'
pre-releases: false
# - name: '#polkadotvalidatorlounge:web3.foundation'
# room: '!NZrbtteFeqYKCUGQtr:matrix.parity.io'
# pre-releases: false
# - name: '#polkadot-announcements:parity.io'
# room: '!UqHPWiCBGZWxrmYBkF:matrix.parity.io'
# pre-releases: false
# - name: '#kusama-announce:parity.io'
# room: '!FMwxpQnYhRCNDRsYGI:matrix.parity.io'
# pre-releases: false

steps:
- name: Matrix notification to ${{ matrix.channel.name }}
if: github.event.release.prerelease == false || matrix.channel.pre-release
# if: github.event.release.prerelease == false || matrix.channel.pre-release
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
with:
room_id: ${{ matrix.channel.room }}
Expand All @@ -48,3 +58,4 @@ jobs:
Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
-----
${{ inputs.message }}

0 comments on commit e73f93c

Please sign in to comment.