Sync personal with upstream/dev #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync personal with upstream/dev | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Daily at midnight UTC | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| if: github.repository != 'open-webui/open-webui' | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout personal branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: personal | |
| fetch-depth: 0 | |
| - name: Configure git | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Fetch upstream | |
| run: | | |
| git remote add upstream https://github.com/open-webui/open-webui.git | |
| git fetch upstream dev | |
| - name: Rebase onto upstream/dev | |
| run: git rebase upstream/dev | |
| - name: Force push | |
| run: git push --force origin personal |