Skip to content

Instantly share code, notes, and snippets.

@DewaldDeJager
DewaldDeJager / README.md
Last active April 8, 2025 20:50
Easy GitHub workflow for keeping a fork in sync with upstream

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.