Skip to content

Upstream Sync

Upstream Sync #1846

Workflow file for this run

name: Upstream Sync
on:
schedule:
- cron: '*/15 * * * *' # Run every 15 minutes
workflow_dispatch: # Allows manual triggering as well
jobs:
sync:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' # Only run on the 'main' branch
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Sync fork with upstream
uses: aormsby/[email protected]
with:
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
# ... (the rest of your configuration options, if any)