20 lines
737 B
YAML
20 lines
737 B
YAML
name: Notify element-web
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
repository_dispatch:
|
|
types: [upstream-sdk-notify]
|
|
jobs:
|
|
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 == 'element-hq/matrix-react-sdk'
|
|
steps:
|
|
- name: Notify element-web repo that a new SDK build is on develop
|
|
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3
|
|
with:
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
repository: vector-im/element-web
|
|
event-type: element-web-notify
|