automatic fork sync

This commit is contained in:
Kristjan Kruus 2026-03-23 10:56:56 +02:00
parent 3540c27767
commit 302b1bf335

19
.github/workflows/sync-fork.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Sync Fork
on:
schedule:
- cron: "0 * * * *" # Every hour at minute 0
workflow_dispatch: # Manual trigger
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Sync fork with upstream
run: gh repo sync ${{ github.repository }} --source sipeed/picoclaw --branch main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}