name: Sync fork with upstream
run-name: Sync fork with upstream
on:
  schedule:
    - cron: "@daily"
  workflow_dispatch:

jobs:
  sync:
    name: Sync
    runs-on: Misc
    steps:
      - name: Sync repository with upstream
        uses: actions/sync-with-mirror@main
        with:
          secret: ${{ secrets.PUSH_TOKEN }}
          name: libcamera
          branch: master
