File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Sync personal with upstream/dev
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *' # Daily at midnight UTC
6+ workflow_dispatch :
7+
8+ jobs :
9+ sync :
10+ runs-on : ubuntu-latest
11+ if : github.repository != 'open-webui/open-webui'
12+ permissions :
13+ contents : write
14+
15+ steps :
16+ - name : Checkout personal branch
17+ uses : actions/checkout@v4
18+ with :
19+ ref : personal
20+ fetch-depth : 0
21+
22+ - name : Configure git
23+ run : |
24+ git config user.name "github-actions[bot]"
25+ git config user.email "github-actions[bot]@users.noreply.github.com"
26+
27+ - name : Fetch upstream
28+ run : |
29+ git remote add upstream https://github.com/open-webui/open-webui.git
30+ git fetch upstream dev
31+
32+ - name : Rebase onto upstream/dev
33+ run : git rebase upstream/dev
34+
35+ - name : Force push
36+ run : git push --force origin personal
You can’t perform that action at this time.
0 commit comments