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