roostorg/Mirror to Git Forge

Push all branches and tags from the current working directory to a remote git forge. Supports HTTPS (token) and SSH (private key) authentication. Call after actions/checkout with fetch-depth: 0.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
destinationRemote URL to push to. HTTPS (https://host/org/repo.git) uses token auth; SCP-style SSH (git@host:org/repo) or ssh:// uses key auth. Scheme is auto-detected. DO NOT EMBED CREDENTIALS in this URL. yes
tokenOAuth2 or personal access token for HTTPS destinations. Injected into the URL as the password; never echoed or stored in git config. no""
token_usernameUsername injected into the HTTPS URL alongside the token. Default "oauth2" works for GitLab. Use the actual account username for Gitea, Forgejo, and Codeberg. nooauth2
ssh_private_keyPEM private key (ED25519 or RSA) for SSH destinations. Written to a temporary file in RUNNER_TEMP with mode 0600 and deleted after the push. no""
ssh_known_hostsKnown-hosts entries for the destination host (output of ssh-keyscan). Strongly recommended; omitting this falls back to ssh-keyscan at push time, which does not verify host identity (TOFU). no""

no outputs