mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 17:57:56 +00:00
Update Matrix and secrets (#14646)
* WIP * Fix usage of the s3krit/walking-tag-action action * Fix notification jobs * Fix notification content --------- Co-authored-by: parity-processbot <>
This commit is contained in:
+13
-6
@@ -6,12 +6,19 @@ on:
|
||||
jobs:
|
||||
notify-devops:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
channel:
|
||||
- name: 'Team: DevOps'
|
||||
room: '!lUslSijLMgNcEKcAiE:parity.io'
|
||||
|
||||
steps:
|
||||
- name: Notify devops
|
||||
if: github.event.label.name == 'A1-needsburnin'
|
||||
uses: s3krit/matrix-message-action@v0.0.3
|
||||
if: startsWith(github.event.label.name, 'A1-')
|
||||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
|
||||
with:
|
||||
room_id: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ROOM_ID }}
|
||||
access_token: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ACCESS_TOKEN }}
|
||||
message: "@room Burn-in request received for [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})"
|
||||
server: "matrix.parity.io"
|
||||
room_id: ${{ matrix.channel.room }}
|
||||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
|
||||
server: "m.parity.io"
|
||||
message: |
|
||||
@room Burn-in request received for [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})
|
||||
|
||||
+18
-5
@@ -8,11 +8,24 @@ on:
|
||||
jobs:
|
||||
ping_matrix:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
channel:
|
||||
- name: 'General: Rust, Polkadot, Substrate'
|
||||
room: '!aJymqQYtCjjqImFLSb:parity.io'
|
||||
pre-release: false
|
||||
|
||||
steps:
|
||||
- name: send message
|
||||
uses: s3krit/matrix-message-action@v0.0.3
|
||||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
|
||||
with:
|
||||
room_id: ${{ secrets.MATRIX_ROOM_ID }}
|
||||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
|
||||
message: "**${{github.event.repository.full_name}}:** A release has been ${{github.event.action}}<br/>Release version [${{github.event.release.tag_name}}](${{github.event.release.html_url}})<br/><br/>***Description:***<br/>${{github.event.release.body}}<br/>"
|
||||
server: "matrix.parity.io"
|
||||
room_id: ${{ matrix.channel.room }}
|
||||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
|
||||
server: "m.parity.io"
|
||||
message: |
|
||||
***${{github.event.repository.full_name}}:*** A release has been ${{github.event.action}}<br/>
|
||||
Release version [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
|
||||
|
||||
-----
|
||||
|
||||
${{github.event.release.body}}<br/>
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Set Git tag
|
||||
uses: s3krit/walking-tag-action@d04f7a53b72ceda4e20283736ce3627011275178 # latest version from master
|
||||
with:
|
||||
TAG_NAME: release
|
||||
TAG_MESSAGE: Latest release
|
||||
tag-name: release
|
||||
tag-message: Latest release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user