diff --git a/.github/workflows/notify-main.yml b/.github/workflows/notify-main.yml new file mode 100644 index 0000000..1d65bd1 --- /dev/null +++ b/.github/workflows/notify-main.yml @@ -0,0 +1,18 @@ +name: Notify main repo + +on: + push: + tags: + - "v*" + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Dispatch to webrpc/webrpc + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.GH_TOKEN_GIT_COMMIT }} + repository: webrpc/webrpc + event-type: generator-updated + client-payload: '{"generator": "gen-openapi", "version": "${{ github.ref_name }}"}'