Skip to content

Commit 44bdd18

Browse files
committed
ci: add workflow to notify main repo on new tag
1 parent fc721c7 commit 44bdd18

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.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-javascript", "version": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)