From bf7c49b33cee9a00d7e94d0f64b1fdb4bf3f9241 Mon Sep 17 00:00:00 2001
From: Egor_P <egor@parity.io>
Date: Wed, 21 Feb 2024 20:48:18 +0700
Subject: [PATCH] Fix failing release notifications GHA (#3416)

This PR should fix the issue with the failing GHA which sends
notifications to the different matrix channels, when the new release is
published
---
 .../workflows/release-99_notif-published.yml  | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/release-99_notif-published.yml b/.github/workflows/release-99_notif-published.yml
index b35120ca4e1..397795fafa4 100644
--- a/.github/workflows/release-99_notif-published.yml
+++ b/.github/workflows/release-99_notif-published.yml
@@ -8,13 +8,11 @@ on:
 jobs:
   ping_matrix:
     runs-on: ubuntu-latest
+    environment: release
     strategy:
       matrix:
         channel:
           # Internal
-          - name: 'RelEng: Cumulus Release Coordination'
-            room: '!NAEMyPAHWOiOQHsvus:parity.io'
-            pre-releases: true
           - name: "RelEng: Polkadot Release Coordination"
             room: '!cqAmzdIcbOFwrdrubV:parity.io'
             pre-release: true
@@ -31,18 +29,9 @@ jobs:
             pre-release: true
 
           # Public
-          # - 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: '#polkadotvalidatorlounge:web3.foundation'
+            room: '!NZrbtteFeqYKCUGQtr:matrix.parity.io'
+            pre-releases: false
 
     steps:
       - name: Matrix notification to ${{ matrix.channel.name }}
-- 
GitLab