Skip to content

Commit c7e72b9

Browse files
Trigger auto update dispatch event
when a commit lands on main, the CI will trigger an event on gtk4-rs/gtk-rs-core repositories triggering a CI job to regenerate the bindings. One can push on top of it to the finish line if needed but it would at least ensure up to date development docs.
1 parent e8115c6 commit c7e72b9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/auto-update.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Trigger Repository Dispatch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
dispatch:
10+
strategy:
11+
matrix:
12+
repo: ['gtk-rs/gtk4-rs', 'gtk-rs/gtk-rs-core']
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Send Repository Dispatch Event
16+
uses: peter-evans/repository-dispatch@v2
17+
with:
18+
token: ${{ secrets.TOKEN_PAT }}
19+
repository: ${{ matrix.repo }}
20+
event-type: internal-merge-event

0 commit comments

Comments
 (0)