From a4748056c72268879cc3e600b97f79e4622c71c6 Mon Sep 17 00:00:00 2001 From: Armin Teimouri Date: Thu, 30 Mar 2023 21:32:07 +0300 Subject: [PATCH 1/2] avoid triggering unwanted room_id for the release notifs --- .github/workflows/release-99_bot.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-99_bot.yml b/.github/workflows/release-99_bot.yml index a3180cbebe04..7991545241a5 100644 --- a/.github/workflows/release-99_bot.yml +++ b/.github/workflows/release-99_bot.yml @@ -21,9 +21,6 @@ jobs: - name: '#polkadot-announcements:matrix.parity.io' room: '!UqHPWiCBGZWxrmYBkF:matrix.parity.io' pre-release: false - - name: 'Internal release-notes channel' - room: '!NTogofoetwjbTwOoPi:matrix.parity.io' - pre-release: true - name: 'Ledger <> Polkadot Coordination' room: '!EoIhaKfGPmFOBrNSHT:web3.foundation' pre-release: true @@ -34,7 +31,7 @@ jobs: if: github.event.release.prerelease == false || matrix.channel.pre-release uses: s3krit/matrix-message-action@v0.0.3 with: - room_id: ${{ matrix.channel.room }} + room_id: ${{ matrix.channel.name }} access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} - server: "matrix.parity.io" + server: "m.parity.io" message: "***Polkadot ${{github.event.release.tag_name}} has been released!***
${{github.event.release.html_url}}

${{github.event.release.body}}
" From b96f76ac2df81189fdeed2ac30d65e3b5cdb9d41 Mon Sep 17 00:00:00 2001 From: Armin Teimouri Date: Thu, 30 Mar 2023 21:35:12 +0300 Subject: [PATCH 2/2] fixing typo --- .github/workflows/release-99_bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-99_bot.yml b/.github/workflows/release-99_bot.yml index 7991545241a5..ac01b7e123f4 100644 --- a/.github/workflows/release-99_bot.yml +++ b/.github/workflows/release-99_bot.yml @@ -31,7 +31,7 @@ jobs: if: github.event.release.prerelease == false || matrix.channel.pre-release uses: s3krit/matrix-message-action@v0.0.3 with: - room_id: ${{ matrix.channel.name }} + 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!***
${{github.event.release.html_url}}

${{github.event.release.body}}
"