mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
79195dea8b
* Skip running jobs on fork `develop` where they lack secrets * Fix contexts
20 lines
622 B
YAML
20 lines
622 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 == 'matrix-org/matrix-react-sdk'
|
|
steps:
|
|
- name: Notify element-web repo that a new SDK build is on develop
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
repository: vector-im/element-web
|
|
event-type: element-web-notify
|