Automatically syncs all your GitHub forks with their upstream repos daily.
- Create a new repo on GitHub named
fork-sync-manager - Push this repo to it
- Create a PAT at https://github.com/settings/tokens with
repoandworkflowscopes - Add the PAT as a secret: repo Settings → Secrets → Actions → New secret → name it
PAT - Edit
.github/workflows/sync.ymland replaceREPLACE_WITH_YOUR_USERNAMEwith your GitHub username - Add more forks to the matrix as needed
Add entries to the matrix in sync.yml:
- fork: your-username/repo-name
upstream: original-org/repo-name
branch: main