aormsby/Upstream Sync

Automatically updates a target branch with new commits from an upstream repo, great for forks or parallel projects

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aormsby/fork-sync-with-upstream-action@83d78e8c4bf524e79b091cf257deba4dee9e60df # v3.4.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
target_sync_branchBranch receiving updates from the upstream repo, e.g. => main, master, prodyes
target_repo_tokenInput for passing secrets.GITHUB_TOKEN when disabling persistent auth in the checkout stepyes
upstream_repo_access_tokenToken for accessing the remote repo through HTTPS authenticationno
upstream_sync_repoUpstream repository, e.g. => aormsby/Fork-Sync-With-Upstream-actionyes
upstream_sync_branchBranch to sync from, e.g. => main, master, devyes
target_branch_checkout_argsAny extra args to pass to `git checkout` on the source branch, e.g. --recurse-submodules :: default = ""no""
git_log_format_argsArgs to print the list of new commits from upstream :: default = --pretty=onelineno--pretty=oneline
upstream_pull_argsGit args passed when running `git pull` against the upstream repo, e.g. --ff-only or --tags :: default = ""no""
target_branch_push_argsGit args passed when running `git push` to apply changes to the source repo, e.g. --force :: default = ""no""
git_config_userGit user credentials for sigining commit, (set to "null" for no config)yesGH Action - Upstream Sync
git_config_emailGit email credentials for sigining commit (set to "null" for no config)yesaction@github.com
git_config_pull_rebaseGit config for "pull.rebase" settings, usually recommend false for this action (set to "null" for no config)yesfalse
test_modeIf set to 'true', runs verification test on all inputs and any testable actions that use themyesfalse
host_domainDomain name to be used in upstream repo URL.yesgithub.com
target_host_domainDomain name to be used in target repo URL.nogithub.com
shallow_sinceLength of time used when fetching shallow repo data, should match how often you perform a syncyes1 month ago
namedescription
has_new_commitstrue when new commits were included in this sync