Crunch v0.18.2 #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Matrix - Push Notification | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
ping_matrix: | |
strategy: | |
matrix: | |
channel: | |
- '!GXvEBJwHIZLDETyjJY:matrix.org' # #westend-crunch-bot:matrix.org -> Westend Crunch Bot (Public) | |
- '!gCVSnDNPSDmUBxnDte:matrix.org' # #kusama-crunch-bot:matrix.org -> Kusama Crunch Bot (Public) | |
- '!IdOnZRytzQTJTyZtQf:matrix.org' # #polkadot-crunch-bot:matrix.org -> Polkadot Crunch Bot (Public) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: s3krit/[email protected] | |
with: | |
room_id: ${{ matrix.channel }} | |
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | |
message: "<h4>Hey, <code>crunch ${{github.event.release.tag_name}}</code> has been released ✌️</h4>🔖 ${{github.event.release.html_url}}<br/><br/>@room<br/>${{github.event.release.body}}<br/><br/>" | |
server: "matrix.org" |