actions-marketplace-validations/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 an SSH known_hosts file for host key verification | no | — |
| GIT_SSH_NO_VERIFY_HOST | If true, skip host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTS | no | false |
| GIT_REF | Push another ref rather than the current branch (GITHUB_REF) from which the action was triggered. Only effective when PUSH_ALL_REFS is false | no | ${{ github.ref }} |
| PUSH_ALL_REFS | Push all refs instead of just the current branch | no | true |
| GIT_PUSH_ARGS | The arguments to use when pushing the repository | no | --tags --force --prune |
| DEBUG | set to "true" to enable debug mode | no | false |
Outputs
no outputs