Skip to content

Upstream Sync

Upstream Sync #71

Workflow file for this run

name: Upstream Sync
on:
schedule:
- cron: '0 */6 * * *' # Every 6 hours
workflow_dispatch: # Manual trigger
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Sync upstream changes
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
with:
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_repo: anomalyco/opencode
upstream_sync_branch: dev
target_sync_branch: dev
test_mode: false
upstream_pull_args: --ff-only
git_config_user: github-actions[bot]
git_config_email: github-actions[bot]@users.noreply.github.com