-
Notifications
You must be signed in to change notification settings - Fork 32
40 lines (35 loc) · 1.15 KB
/
dispatch-on-schema-update.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Dispatch Event on Schema Update
on:
push:
branches:
- master
paths:
- "packages/api/src/schema/api-schema.yaml"
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch Event to JS SDK Repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: livepeer/livepeer-js
event-type: update-schema
- name: Dispatch Event to Go SDK Repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: livepeer/livepeer-go
event-type: update-schema
- name: Dispatch Event to Python SDK Repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: livepeer/livepeer-python
event-type: update-schema
- name: Dispatch Event to Ruby SDK Repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: livepeer/livepeer-ruby
event-type: update-schema