opensifli/Forge Mirror
Mirror repos between Git hosting platforms.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| src_platform | Source platform (github/gitee/gitlab/gitcode/git). | — | github |
| src_account | Source account or organization name (optional for git platform). | yes | — |
| dst_platform | Destination platform (github/gitee/gitlab/gitcode/git). | yes | — |
| dst_account | Destination account or organization name (optional for git platform). | yes | — |
| src_key | Source SSH private key (required when src_transport=ssh). | no | — |
| dst_key | Destination SSH private key (required when dst_transport=ssh). | no | — |
| src_token | Source API token. | no | — |
| dst_token | Destination API token used to create/update repositories. | yes | — |
| src_account_type | Source account type (user/org/group). | — | user |
| dst_account_type | Destination account type (user/org/group). | — | user |
| src_endpoint | Source self-hosted endpoint, e.g. gitlab.example.com (no https://). | — | "" |
| src_api_endpoint | Source API endpoint (optional). When set, overrides API host used for source platform requests. | — | "" |
| dst_endpoint | Destination self-hosted endpoint, e.g. gitlab.example.com (no https://). | — | "" |
| dst_api_endpoint | Destination API endpoint (optional). When set, overrides API host used for destination platform requests. | — | "" |
| repos | YAML repos config (static/include/exclude/mappings/refs). | — | "" |
| src_transport | Source transport (https/ssh). | — | https |
| dst_transport | Destination transport (https/ssh). | — | ssh |
| src_ssh_user | Source SSH username. | — | git |
| dst_ssh_user | Destination SSH username. | — | git |
| push_strategy | Push strategy: safe(--force-with-lease)/force(-f)/no(normal). | — | safe |
| log_level | Log level (DEBUG/INFO/WARNING/ERROR). | — | INFO |
| timeout | Git command timeout, e.g. 30m, 1h, 600. | — | 30m |
| api_timeout | API timeout, e.g. 60, 2m. | — | 60 |
| cache_path | Local cache path for repositories. Relative paths are prefixed with github.workspace. | — | hub-mirror-cache |
| lfs | Enable Git LFS. | — | false |
| dst_visibility | Destination visibility (auto/public/private). | — | auto |
Outputs
no outputs