Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/paritytech/polkadot into …
Browse files Browse the repository at this point in the history
…sub-7127
  • Loading branch information
liuchengxu committed Feb 1, 2021
2 parents e1a79a3 + 9ccd6bb commit 08c14e7
Show file tree
Hide file tree
Showing 147 changed files with 9,094 additions and 2,837 deletions.
10 changes: 9 additions & 1 deletion .config/lingua.dic
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,12 @@ WND/S
XCM/S
XCMP/M
include/BG
isolate/BG
isolate/BG
dispatchable/SM
VMP/SM
HMP/SM
DMP/SM
MQC/SM
VRF/SM
assignee/SM
adversary/SM
3 changes: 2 additions & 1 deletion .config/spellcheck.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ extra_dictionaries = ["lingua.dic"]
# `Type`'s
# 5x
# He tagged it as 'TheGreatestOfAllTimes'
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$"]
# Transforms'
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^(.*)'$", "^\\+$"]
allow_concatenation = true
allow_dashes = true
33 changes: 12 additions & 21 deletions .github/workflows/release-bot.yml
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"
Loading

0 comments on commit 08c14e7

Please sign in to comment.