{"id":25731901,"url":"https://github.com/codeship/codeship_migrate_to_github_app","last_synced_at":"2026-04-07T14:02:25.216Z","repository":{"id":48635167,"uuid":"147739634","full_name":"codeship/codeship_migrate_to_github_app","owner":"codeship","description":"Migrate your CodeShip projects from legacy GitHub services to CodeShip's GitHub App","archived":false,"fork":false,"pushed_at":"2021-07-16T14:30:15.000Z","size":437,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-11-30T12:53:22.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/codeship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-06T22:15:53.000Z","updated_at":"2021-05-07T03:33:09.000Z","dependencies_parsed_at":"2022-09-05T15:31:31.695Z","dependency_job_id":null,"html_url":"https://github.com/codeship/codeship_migrate_to_github_app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codeship/codeship_migrate_to_github_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeship%2Fcodeship_migrate_to_github_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeship%2Fcodeship_migrate_to_github_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeship%2Fcodeship_migrate_to_github_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeship%2Fcodeship_migrate_to_github_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeship","download_url":"https://codeload.github.com/codeship/codeship_migrate_to_github_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeship%2Fcodeship_migrate_to_github_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-02-26T03:38:23.398Z","updated_at":"2026-04-07T14:02:25.196Z","avatar_url":"https://github.com/codeship.png","language":"Ruby","readme":"# CodeshipMigrateToGitHubApp\n\nThis gem helps you migrate large numbers of projects on CodeShip from using legacy GitHub Services to the CodeShip GitHub App. For small numbers of projects, the migration wizard on https://codeship.com can help you migrate. However, there is a limit of 100 projects when migrating using the web UI. We've provided this gem to help users with more than 100 projects to migrate all at once.\n\nWhen using the gem, you'll need to provide an access token from GitHub for the gem to have the necessary access. The access token will never leave your local machine though, as everything the gem does is executed in your local environment. If you were to use the web UI, we have enough permissions via your user authentication to perform the migration without needing an access token\n\n### What's it do?\n\nFirst the gem will use the provided user credentials to obtain a list of projects from CodeShip that are using legacy GitHub Services. For each of these projects, the gem will use the provided GitHub personal access token to add the project's GitHub repository to the CodeShip GitHub App. Finally, any legacy Github Service for CodeShip will be removed from the GitHub repository.  Errors will be reported for any repository that can't be successfully migrated.\n\n### Requirements\n\nTo use this gem, you'll need:\n\n- Ruby \u003e= 2.5.0\n- CodeShip username and password\n- GitHub admin access to repositories\n\n## 1. Install the gem\n\n    gem install codeship_migrate_to_github_app\n\n## 2. Generate a GitHub Personal Access Token\n\nVisit [this](https://github.com/settings/tokens) page to generate a personal access token on GitHub. This token needs to be generated by an owner of the organization containing repositories to be migrated. Make sure your token has the following security scopes:\n\n- repo\n- admin:org\n- admin:repo_hook\n\n![GitHub new personal access token](assets/new_personal_access_token.png)\n\nGive your token a descriptive name, click 'Generate token', and you'll be taken to a page displaying your new token. Make a note of this token: it won't be displayed on GitHub again.\n\n![Personal access tokens](assets/personal_access_tokens.png)\n\n## 3. Install the CodeShip GitHub App for a single repository in your GitHub organization\n\nFor each GitHub organization containing repositories to migrate, you'll need to install the CodeShip GitHub App and add it to at least one repository.\n\n- Install the CodeShip GitHub App for your organization by visiting  \u003chttps://github.com/apps/codeship/installations/new\u003e\n- Select your organization\n- Under \"Repository Access\" select \"Only select repositories\", and choose at least one repository\n- Click save. You'll be redirected back to CodeShip and can safely close the browser window\n\n![Repository access](assets/repo_access.png)\n\n## 4. Run the migration via gem\n\n    codeship_migrate_to_github_app start --codeship-user=\u003ccodeship user email\u003e --codeship-pass=\u003ccodeship password\u003e --github-token=\u003cgithub personal access token\u003e\n\n- codeship-user: your login email address on CodeShip\n- codeship-pass: your CodeShip account password\n- github-token: the GitHub personal access token generated in step 2\n\n## Getting help\n\nSomething not quite right? Reach out to us at \u003chttps://helpdesk.codeship.com\u003e\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/codeship/codeship_migrate_to_github_app. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the CodeshipMigrateToGitHubApp project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/codeship/codeship_migrate_to_github_app/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeship%2Fcodeship_migrate_to_github_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeship%2Fcodeship_migrate_to_github_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeship%2Fcodeship_migrate_to_github_app/lists"}