For the logged-in GitHub user, syncs all forked repositories with the default branch of their upstream parent.
This is analogous to syncing the fork via the GitHub UI for all forked repositories:
Runs periodically.
- Fork this repo
- Create a new Personal Access Token (PAT) with the
workflowscope - Add the PAT as a Repository Secret in the fork
SettingsSecurity and variablesActionsNew repository secret- Name =
PAT - Secret = Your PAT
- Name =
Add secret
- Enable workflow in forked repository
ActionsI understand my workflow, go ahead and enable them
- Test workflow
ActionsScheduled Fork SyncerRun workflowRun workflow- Check output
- For SAML authenticated repositories, additional one-time authorization will be required
./fork-syncer.sh