Skip to content

Sync Upstream

Sync Upstream #15

Workflow file for this run

name: Sync Upstream
on:
schedule:
- cron: "0 0 * * *" # Daily at midnight UTC
workflow_dispatch: # Manual trigger
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync upstream
run: |
git remote add upstream https://github.com/sst/opencode.git
git fetch upstream
git checkout nightly
git rebase upstream/nightly
git push --force-with-lease