x-actions/go-git-mirrors

Mirrors Code from github to gitee

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
srcSource name. Such as `github/xiexianbin`.yes
src_tokenThe app token which is used to list repo in source hub, just support Github API token.yes
dstDestination name. Such as `gitee/xiexianbin`.yes
dst_keyThe private SSH key which is used to to push code in destination hub.yes
dst_tokenThe app token which is used to create repo in destination hub, just support Gitee API token.yes
account_typeThe account type. Such as org, user.nouser
src_account_typeThe src account type. Such as org, user.no""
dst_account_typeThe dst account type. Such as org, user.no""
clone_styleThe git clone style, https or ssh.nossh
cache_pathThe path to cache the source repos code.no/github/workspace/git-mirrors-cache
black_listHeight priority, the back list of mirror repo. like 'repo1,repo2,repo3'no""
white_listLow priority, the white list of mirror repo. like 'repo1,repo2,repo3'no""
force_updateForce to update the destination repo, use '-f' flag do 'git push'nofalse
debugEnable the debug flag to show detail lognofalse
timeoutSet the timeout for every git command, eg. '600'=>600s, '30m'=>30 minute, '2h'=>2 hoursno30m
mappingsThe source repos mappings, such as 'A=>B, C=>CC', source repo name would be mapped follow the rule: A to B, C to CC. Mapping is not transitive.no""
ssh_keyscansssh-keyscan -t rsa/ecdsa host > ~/.ssh/known_hosts.nogithub.com,gitee.com

no outputs