attestd/mirror-repository
Automate mirroring of git commits to or from a remote repository, like GitLab, Bitbucket, or another GitHub repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| REMOTE_NAME | The remote ref name to use. 'mirror' by default. Useful to avoid conflicts with existing remotes. | no | — |
| REMOTE | The remote repository e.g. https://github.com/octocat/foo.git or git@github.com:octocat/foo.git | no | — |
| GIT_USERNAME | Username for remote repository | no | — |
| GIT_PASSWORD | The git https password or token for the remote repository | no | — |
| GIT_SSH_PRIVATE_KEY | The ssh private key for writing to the remote repository, if using ssh | no | — |
| GIT_SSH_PUBLIC_KEY | The ssh public key for writing to the remote repository. Normally, not required at all | no | — |
| GIT_SSH_KNOWN_HOSTS | The contents of a SSH known_hosts file for host key verification | no | — |
| GIT_SSH_NO_VERIFY_HOST | if true, skips host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTS | no | false |
| PUSH_ALL_REFS | Push all refs instead of just the current branch | no | true |
| GIT_PUSH_ARGS | The arugments to use when pushing the repository | no | --tags --force --prune |
| DEBUG | set to "true" to enable debug mode | no | false |
Outputs
no outputs