Skip to content

Commit ef55f2c

Browse files
committed
Add push trigger for unstable branch in sync workflow
This update enables the workflow to trigger on pushes to the unstable branch in addition to the existing cron schedule and manual triggers. It improves automation and ensures consistency when changes are pushed to the unstable branch.
1 parent 152577d commit ef55f2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sync-upstream.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ name: Sync with Upstream (unstable → production)
33
on:
44
schedule:
55
- cron: "0 4 * * 0" # Every Sunday at 04:00 UTC
6-
workflow_dispatch: # Allow manual trigger from the Actions tab
6+
workflow_dispatch: # Allow manual trigger from the Actions tab
7+
push:
8+
branches:
9+
- unstable # Trigger if unstable branch is pushed to
710

811
permissions:
912
contents: write

0 commit comments

Comments
 (0)