This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/paritytech/polkadot into …
…sub-7127
- Loading branch information
Showing
147 changed files
with
9,094 additions
and
2,837 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,23 @@ | ||
name: Push release notes to internal release notes channel | ||
name: Send new release notification to matrix channels | ||
on: | ||
release: | ||
types: | ||
- published | ||
jobs: | ||
ping_matrix: | ||
strategy: | ||
matrix: | ||
channel: | ||
- '!LhjZccBOqFNYKLdmbb:polkadot.builders' # #KusamaValidatorLounge:polkadot.builders | ||
- '!FMwxpQnYhRCNDRsYGI:matrix.parity.io' # #kusama-announcements:matrix.parity.io | ||
- '!NZrbtteFeqYKCUGQtr:matrix.parity.io' # #polkadotvalidatorlounge:web3.foundation | ||
- '!UqHPWiCBGZWxrmYBkF:matrix.parity.io' # #polkadot-announcements:matrix.parity.io | ||
- '!NTogofoetwjbTwOoPi:matrix.parity.io' # Internal release-notes channel | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Internal Release Notes Channel | ||
uses: s3krit/matrix-message-action@v0.0.3 | ||
- uses: s3krit/matrix-message-action@v0.0.3 | ||
with: | ||
room_id: ${{ secrets.MATRIX_ROOM_ID }} | ||
room_id: ${{ matrix.channel }} # heh | ||
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" | ||
|
||
- name: Validator Lounge | ||
uses: s3krit/matrix-message-action@v0.0.3 | ||
with: | ||
room_id: ${{ secrets.VALIDATOR_LOUNGE_MATRIX_ROOM_ID }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
message: "***Polkadot ${{github.event.release.tag_name}} has been released!***<br/>Please update at your earliest convenience.<br/>${{github.event.release.html_url}}<br/><br/>${{github.event.release.body}}<br/>" | ||
server: "matrix.parity.io" | ||
|
||
- name: Polkadot Announcements | ||
uses: s3krit/matrix-message-action@v0.0.3 | ||
with: | ||
room_id: ${{ secrets.KUSAMA_ANNOUNCEMENTS_MATRIX_ROOM_ID }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
message: "***Polkadot ${{github.event.release.tag_name}} has been released!***<br/>Please update at your earliest convenience.<br/>${{github.event.release.html_url}}<br/><br/>${{github.event.release.body}}<br/>" | ||
message: "***Polkadot ${{github.event.release.tag_name}} has been released!***<br/>${{github.event.release.html_url}}<br/><br/>${{github.event.release.body}}<br/>" | ||
server: "matrix.parity.io" |
Oops, something went wrong.