{"id":26489930,"url":"https://github.com/shashinma/git-repo-mirror","last_synced_at":"2025-03-20T07:53:25.571Z","repository":{"id":196915070,"uuid":"697534228","full_name":"shashinma/git-repo-mirror","owner":"shashinma","description":"Git Repo Mirroring enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.","archived":false,"fork":false,"pushed_at":"2023-09-28T00:55:16.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T09:04:35.217Z","etag":null,"topics":["devops","git","github","github-actions","mirror","script","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shashinma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-27T23:49:47.000Z","updated_at":"2024-07-23T21:50:19.000Z","dependencies_parsed_at":"2023-09-28T06:11:43.670Z","dependency_job_id":null,"html_url":"https://github.com/shashinma/git-repo-mirror","commit_stats":null,"previous_names":["shashinma/git-repo-mirror"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashinma%2Fgit-repo-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashinma%2Fgit-repo-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashinma%2Fgit-repo-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashinma%2Fgit-repo-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shashinma","download_url":"https://codeload.github.com/shashinma/git-repo-mirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574757,"owners_count":20474818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","git","github","github-actions","mirror","script","shell"],"created_at":"2025-03-20T07:53:25.021Z","updated_at":"2025-03-20T07:53:25.560Z","avatar_url":"https://github.com/shashinma.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Repository Mirroring\n\nGit Repo Mirroring enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.\n\n## Try Git Repository Mirroring\n\nYou can use the following example as a template to create a new file with any name under `.github/workflows/`.\n\n```yaml\nname: \u003caction-name\u003e\n\non: \n  - push\n  - delete\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    name: Git Repo Mirroring\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: shashinma/git-repo-mirror\n      with:\n        # Such as https://github.com/shashinma/git-repo-mirror.git\n        target-url: \u003ctarget-url\u003e\n        # Such as shashinma\n        target-username: \u003ctarget-username\u003e\n        # You can store token in your project's 'Setting \u003e Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }}\n        target-token: \u003ctarget-token\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashinma%2Fgit-repo-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashinma%2Fgit-repo-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashinma%2Fgit-repo-mirror/lists"}