actions-marketplace-validations/Sync-Fork-action
Automatically updates fork if new commits from upstream repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 18, 2021
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/xuemomo_sync-fork-action@b1545dfaf057a7ba0e9c8987a5829ce176942995 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Token for accessing the remote repo with authentication | no | — |
| upstream_repository | Upstream repository, e.g. => aormsby/Fork-Sync-With-Upstream-action | yes | — |
| upstream_branch | Branch to sync from, e.g. => main, master, dev | yes | — |
| target_branch | Branch to push to, e.g. => main, master, prod | yes | — |
| git_checkout_args | Any extra args to pass to `git checkout` like --recurse-submodules (only used when current branch is not target_branch), default = "" | no | "" |
| git_fetch_args | Any extra args to pass to `git fetch` like --recurse-submodules, default = "" | no | "" |
| git_log_format_args | How to print the list of new commits, default = --pretty=oneline | no | --pretty=oneline |
| git_pull_args | Any extra args to pass to `git push` like --ff-only or --tags, default = "" | no | "" |
| git_push_args | Any extra args to pass to `git push` like --force, default = "" | no | "" |
| git_user | Git user credentials for sigining commit (set to "null" for no credential changes) | no | Action - Fork Sync |
| git_email | Git email credentials for sigining commit (set to "null" for no credential changes) | no | action@github.com |
| git_pull_rebase_config | Git config for "pull.rebase" (standard default to false, set to "null" for no config) | no | false |
Outputs
| name | description |
|---|---|
| has_new_commits | true when new commits were included in this sync |