File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Sync docs
2
+
3
+ on :
4
+ repository_dispatch :
5
+ types : [sync-request]
6
+
7
+ jobs :
8
+ log :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - uses : pnpm/action-setup@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : 22
16
+ cache : pnpm
17
+ - run : pnpm install --frozen-lockfile
18
+
19
+ - name : Sync
20
+ run : cd apps/svelte.dev && pnpm sync-docs -p ${{ github.event.client_payload.package }}
21
+
22
+ - name : Create or update pull request
23
+ uses : peter-evans/create-pull-request@v7
24
+ with :
25
+ commit-message : sync ${{ github.event.client_payload.package }} docs
26
+ title : Sync ${{ github.event.client_payload.package }}
27
+ body : This is an automated pull request
28
+ branch : sync:${{ github.event.client_payload.package }}
29
+ base : main
You can’t perform that action at this time.
0 commit comments