Releases: aormsby/Fork-Sync-With-Upstream-action
v2.1 - Fix for missing git credentials
Fixes a failure case where git user and email credentials are missing during the commit signing. New inputs:
config_git_credentials
- Default 'true'git_user
- Default 'Action - Fork Sync'git_email
- Default '[email protected]'
Set these to custom values if necessary. On action complete, the config resets to previous values (even if the values are empty). Set config_git_credentials
to 'false' to skip this step and use existing credentials.
v2.0 - Custom Git Args
Added Inputs for Git Command Arguments
New 'advanced use' inputs for git commands in the sync process:
git_checkout_args
git_fetch_args
git_push_args
git_log_format_args
git_pull_args
Except for the log format, all logs are empty by default.
Thanks to @cognifloyd for working on this PR.
Moving to v2.0
Default values have been removed for upstream_branch
and target_branch
inputs. Set these explicitly in your workflows.
v1.1 - output var 'has_new_commit'
New output var has_new_commit
. Thanks to @cognifloyd for this addition.
v 1.0
Initial release.
Add to a workflow to automatically pull the latest commits from an upstream repo. This was made for keeping forks in sync with their original repos, but it can be used in more general cases. Enjoy!