actions-marketplace-validations/Sync-Fork-action

Automatically updates fork if new commits from upstream repo

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 18, 2021
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/xuemomo_sync-fork-action@b1545dfaf057a7ba0e9c8987a5829ce176942995 # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
github_tokenToken for accessing the remote repo with authenticationno
upstream_repositoryUpstream repository, e.g. => aormsby/Fork-Sync-With-Upstream-actionyes
upstream_branchBranch to sync from, e.g. => main, master, devyes
target_branchBranch to push to, e.g. => main, master, prodyes
git_checkout_argsAny extra args to pass to `git checkout` like --recurse-submodules (only used when current branch is not target_branch), default = ""no""
git_fetch_argsAny extra args to pass to `git fetch` like --recurse-submodules, default = ""no""
git_log_format_argsHow to print the list of new commits, default = --pretty=onelineno--pretty=oneline
git_pull_argsAny extra args to pass to `git push` like --ff-only or --tags, default = ""no""
git_push_argsAny extra args to pass to `git push` like --force, default = ""no""
git_userGit user credentials for sigining commit (set to "null" for no credential changes)noAction - Fork Sync
git_emailGit email credentials for sigining commit (set to "null" for no credential changes)noaction@github.com
git_pull_rebase_configGit config for "pull.rebase" (standard default to false, set to "null" for no config)nofalse
namedescription
has_new_commitstrue when new commits were included in this sync