yesolutions/mirror-repository

Automate mirroring of git commits to or from a remote repository, like GitLab, Bitbucket, or another GitHub repository

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
REMOTE_NAMEThe remote ref name to use. 'mirror' by default. Useful to avoid conflicts with existing remotes.no
REMOTEThe remote repository e.g. https://github.com/octocat/foo.git or git@github.com:octocat/foo.gitno
GIT_USERNAMEUsername for remote repositoryno
GIT_PASSWORDThe git HTTPS password or token for the remote repositoryno
GIT_SSH_PRIVATE_KEYThe ssh private key for writing to the remote repository, if using sshno
GIT_SSH_PUBLIC_KEYThe ssh public key for writing to the remote repository. Normally, not required at allno
GIT_SSH_KNOWN_HOSTSThe contents of an SSH known_hosts file for host key verificationno
GIT_SSH_NO_VERIFY_HOSTIf true, skip host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTSnofalse
GIT_REFPush another ref rather than the current branch (GITHUB_REF) from which the action was triggered. Only effective when PUSH_ALL_REFS is falseno${{ github.ref }}
PUSH_ALL_REFSPush all refs instead of just the current branchnotrue
GIT_PUSH_ARGSThe arguments to use when pushing the repositoryno--tags --force --prune
DEBUGset to "true" to enable debug modenofalse

no outputs