api: flag streams as pull created for auth header in webhook (#2064) #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |