Skip to content

Commit 27c7a7f

Browse files
committed
chore: add github workflow for updating sample repros on release
1 parent 7f0b91f commit 27c7a7f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/update-samples.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Update Samples
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
dispatch:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
repo:
14+
[
15+
'zenstackhq/sample-todo-nextjs',
16+
'zenstackhq/sample-todo-nextjs-tanstack',
17+
'zenstackhq/sample-todo-trpc',
18+
'zenstackhq/sample-todo-sveltekit',
19+
]
20+
21+
steps:
22+
- name: Repository Dispatch
23+
uses: peter-evans/[email protected]
24+
with:
25+
token: ${{ secrets.RELEASE_TRIGGER_TOKEN }}
26+
repository: ${{ matrix.repo }}
27+
event-type: zenstack-release

0 commit comments

Comments
 (0)