-
Notifications
You must be signed in to change notification settings - Fork 73
Home
Adam Ormsby edited this page Mar 9, 2024
·
6 revisions
- Keep a single branch up to date with the latest commits from a branch on a remote repo
- Include a token to sync commits from a private upstream repo (HTTPS auth only)
- Custom configuration for git command options throughout the process - checkout, pull, push, log, etc.
- Custom settings options for git config - user, email, and pull settings - used during the action and reset when the step is complete
Setting the input var test_mode: true
enables a set of input tests designed to help with your action setup. The tests will run instead of the action, and they will verify the following things:
- Does the
target_sync_branch
exist in the target repo? - Does the
upstream_sync_repo
exist? - Does the
upstream_sync_branch
exist in the upstream repo? - Are you authorized to access the upstream repo?
- If private, does
upstream_repo_access_token
provide access?
- If private, does
- Are git user/email/pull configuration successful? And do they correctly reset?
If you have any failed tests, your action input values are likely incorrect or something is missing in your setup. Running test mode before deployment can help avoid several issues. See setup notes for help configuring the action.
Suggestions for more tests are welcome! Please open an issue if you see an error that could be checked in test mode.