Skip to content

Instantly share code, notes, and snippets.

@DewaldDeJager
DewaldDeJager / README.md
Last active July 13, 2024 17:57
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.