Skip to content

Releases: aormsby/Fork-Sync-With-Upstream-action

v2.1 - Fix for missing git credentials

30 Oct 17:26
Compare
Choose a tag to compare

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 'action@github.com'

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

04 Oct 21:19
Compare
Choose a tag to compare

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'

23 Sep 19:40
08dc455
Compare
Choose a tag to compare

New output var has_new_commit. Thanks to @cognifloyd for this addition.

v 1.0

21 Sep 19:54
e5dcb61
Compare
Choose a tag to compare

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!