Change Matrix to new secrets and V2 server (#2937)

* Change to new secrets

* Fix rooms

* Fix matrix server

* Notification formatting and matrix server fix
This commit is contained in:
Chevdor
2023-07-28 15:06:05 +02:00
committed by GitHub
parent c4512f79a4
commit ce295364c8
3 changed files with 19 additions and 13 deletions
+4 -4
View File
@@ -292,15 +292,16 @@ jobs:
strategy:
matrix:
channel:
- name: 'Cumulus Release Coordination'
room: '!ZrLPsivsytpkdJfVaa:matrix.parity.io'
- name: 'RelEng: Cumulus Release Coordination'
room: '!NAEMyPAHWOiOQHsvus:parity.io'
pre-releases: 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 }}
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
server: "m.parity.io"
message: |
**New draft for ${{ github.repository }}**: ${{ github.event.inputs.ref2 }}<br/>
@@ -308,4 +309,3 @@ jobs:
NOTE: The link above will no longer be valid if the draft is edited. You can then use the following link:
[${{ github.server_url }}/${{ github.repository }}/releases](${{ github.server_url }}/${{ github.repository }}/releases)
server: "matrix.parity.io"