Skip to content

Commit bfc0ad0

Browse files
committed
ci: add workflow to notify main repo on new tag
1 parent 80f530e commit bfc0ad0

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/notify-main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Notify main repo
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
notify:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Dispatch to webrpc/webrpc
13+
uses: peter-evans/repository-dispatch@v3
14+
with:
15+
token: ${{ secrets.GH_TOKEN_GIT_COMMIT }}
16+
repository: webrpc/webrpc
17+
event-type: generator-updated
18+
client-payload: '{"generator": "gen-typescript", "version": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)