Skip to content

Commit e3106e2

Browse files
committed
[SKIP CI] Add sync sdks workflow
1 parent f5da5d7 commit e3106e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/sync-sdks.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
trigger:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Sync ETH
9+
run: |
10+
curl -X POST \
11+
-H "Authorization: token ${{ secrets.SUBQL_SDK_CI }}" \
12+
-H "Accept: application/vnd.github.v3+json" \
13+
https://api.github.com/repos/subquery/subql/dispatches \
14+
-d '{"event_type":"trigger-workflow"}'
15+
16+
# - name: Trigger repo B
17+
# run: |
18+
# curl -X POST \
19+
# -H "Authorization: token ${{ secrets.SUBQL_SDK_CI }}" \
20+
# -H "Accept: application/vnd.github.v3+json" \
21+
# https://api.github.com/repos/<owner>/repo-b/dispatches \
22+
# -d '{"event_type":"trigger-workflow"}'

0 commit comments

Comments
 (0)