{"id":21965590,"url":"https://github.com/h44z/gitlab-github-mirror","last_synced_at":"2026-04-28T21:03:38.189Z","repository":{"id":144843493,"uuid":"124559814","full_name":"h44z/gitlab-github-mirror","owner":"h44z","description":"Just a simple project for testing gitlab to github mirroring","archived":false,"fork":false,"pushed_at":"2018-03-10T11:03:32.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T21:35:47.589Z","etag":null,"topics":["github","gitlab","gitlab-ci","mirror"],"latest_commit_sha":null,"homepage":"https://git.sprinternet.at/h44z/gitlab-github-mirror","language":null,"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/h44z.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-09T15:43:04.000Z","updated_at":"2022-07-17T13:07:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c9a4d4c-526b-4197-b078-48a1ed7f6dc4","html_url":"https://github.com/h44z/gitlab-github-mirror","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/h44z/gitlab-github-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Fgitlab-github-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Fgitlab-github-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Fgitlab-github-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Fgitlab-github-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h44z","download_url":"https://codeload.github.com/h44z/gitlab-github-mirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Fgitlab-github-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github","gitlab","gitlab-ci","mirror"],"created_at":"2024-11-29T12:48:48.761Z","updated_at":"2026-04-28T21:03:38.171Z","avatar_url":"https://github.com/h44z.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Gitlab to Github mirroring\n===\n\nThis repo is used for testing mirroring of a gitlab repo to github using gitlab-ci.\nFor gitlab ee, there already exists a mirroring service, so this is only useful for gitlab ce.\n\n# Prerequisites\nSetup gitlab-ci and create a shell runner. (https://docs.gitlab.com/runner/install/)\n\n![Runner Configuration](https://raw.githubusercontent.com/h44z/atestproject/master/runner.png)\n\nNext create or edit the file `/etc/ssh/ssh_known_hosts`:\n\n```bash\n# touch /etc/ssh/ssh_known_hosts\n```\n\nAllow the runner to modify the file (not needed if you do not update the ssh keys automatically):\n```bash\n# chown :gitlab-runner /etc/ssh/ssh_known_hosts\n# chmod g+w /etc/ssh/ssh_known_hosts\n```\n\nYou can prefill the known hosts file (you can also run this step in the gitlab runner):\n```bash\n# ssh-keyscan -t rsa,dsa,ecdsa github.com \u003e /etc/ssh/ssh_known_hosts\n```\n\nThen create a new ssh key-pair for the gitlab runner (do not use a key password!):\n```bash\n# su gitlab-runner\n$ cd\n$ ssh-keygen -t rsa -b 4096\n$ cat .ssh/id_rsa.pub\n```\n\nAdd the key to your github account.\n\nNow just edit the `.gitlab-ci.yml` file in your repo to fit your needs. Enjoy the gitlab to github mirroring :)\n\nWarning/Hint: changes on github will be overwritten!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh44z%2Fgitlab-github-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh44z%2Fgitlab-github-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh44z%2Fgitlab-github-mirror/lists"}