Skip to content

Commit dc9ac97

Browse files
committed
Run sync workflow on push to main/dev branches
Replace the manual `workflow_dispatch` trigger with a `push` trigger for branches `main`, `dev`, and `dev-1.x`. The scheduled cron remains unchanged. This ensures the upstream sync runs automatically when those branches are updated, rather than requiring a manual dispatch.
1 parent 33e7d61 commit dc9ac97

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/sync-branches-from-upstream.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
name: Sync Branches from Upstream
1212

1313
on:
14-
workflow_dispatch:
14+
push:
15+
branches: [ 'main' , "dev" , "dev-1.x" ]
1516
schedule:
1617
- cron: '*/5 * * * *'
1718

0 commit comments

Comments
 (0)