gactions/Git Repo Sync
Git Repo Sync enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| target-url | Target Repo URL | yes | — |
| target-username | Target Repo Username | yes | — |
| target-token | Target Token | yes | — |
| target-force-push | Force push branches and tags | no | false |
| mirror | Mirror all refs (branches + tags) and prune refs deleted on the source. Overrides target-force-push. | no | false |
| only-on-version-change | Only sync when the version field in the version file changed | no | false |
| version-file | Path to the JSON file whose version field is compared | no | package.json |
| before-ref | Git SHA before the push, used to read the previous version. Defaults to github.event.before | no | "" |
Outputs
no outputs