Sync Fork This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml. It runs daily to sync the default branch and can be triggered manually for any branch.