2021-11-01 21:00:51 +08:00
|
|
|
name: Notify element-web
|
|
|
|
on:
|
2022-12-12 19:24:14 +08:00
|
|
|
push:
|
|
|
|
branches: [develop]
|
|
|
|
repository_dispatch:
|
|
|
|
types: [upstream-sdk-notify]
|
2021-11-01 21:00:51 +08:00
|
|
|
jobs:
|
2022-12-12 19:24:14 +08:00
|
|
|
notify-element-web:
|
|
|
|
name: "Notify Element Web"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
# Only respect triggers from our develop branch, ignore that of forks
|
|
|
|
if: github.repository == 'matrix-org/matrix-react-sdk'
|
|
|
|
steps:
|
|
|
|
- name: Notify element-web repo that a new SDK build is on develop
|
2023-09-07 16:29:15 +08:00
|
|
|
uses: peter-evans/repository-dispatch@bf47d102fdb849e755b0b0023ea3e81a44b6f570 # v2
|
2022-12-12 19:24:14 +08:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
repository: vector-im/element-web
|
|
|
|
event-type: element-web-notify
|