28 lines
1.0 KiB
YAML
28 lines
1.0 KiB
YAML
name: Notify Downstream Projects
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
jobs:
|
|
notify-downstream:
|
|
# Only respect triggers from our develop branch, ignore that of forks
|
|
if: github.repository == 'matrix-org/matrix-js-sdk'
|
|
continue-on-error: true
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- repo: element-hq/element-web
|
|
event: element-web-notify
|
|
- repo: matrix-org/matrix-react-sdk
|
|
event: upstream-sdk-notify
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Notify matrix-react-sdk repo that a new SDK build is on develop so it can CI against it
|
|
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3
|
|
with:
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
repository: ${{ matrix.repo }}
|
|
event-type: ${{ matrix.event }}
|