mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
20eaad9d48
During the monorepo merge, the Github workflows for subtrate, polkadot and cumulus were imported in various sub folders. This PR merges and fixes some of those workflows and brings them back to the root to make them available again. --------- Co-authored-by: Egor_P <egor@parity.io>
25 lines
808 B
YAML
25 lines
808 B
YAML
name: Notify DevOps when burn-in label applied
|
|
on:
|
|
pull_request:
|
|
types: [labeled]
|
|
|
|
jobs:
|
|
notify-devops:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
channel:
|
|
- name: 'Team: DevOps'
|
|
room: '!lUslSijLMgNcEKcAiE:parity.io'
|
|
|
|
steps:
|
|
- name: Send Matrix message to ${{ matrix.channel.name }}
|
|
if: startsWith(github.event.label.name, 'A0-')
|
|
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
|
|
with:
|
|
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 }})
|