Building GitHub with Ruby and Rails
Apr 6, 2023Adam Hess

Summary
This post details GitHub's strategy for weekly Ruby and Rails upgrades. It describes an automated GitHub Actions workflow that triggers a pull request to bump the Rails version to the latest commit daily, with all builds running on the new version. It also outlines a similar process for Ruby upgrades, testing alpha/beta versions in parallel builds and using CI to maintain compatibility. The post highlights the benefits of this approach, including faster upgrades, reduced patching, improved security, and easier contribution back to the community. It also emphasizes the importance of a thorough test suite, great test environments, and progressive rollout deploys for successful weekly upgrades.
More from the GitHub.com Deployment System trail
- How we improved push processing on GitHub
- How GitHub uses merge queue to ship hundreds of changes every day
- How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com
- How we build containerized services at GitHub using GitHub
- Enabling branch deployments through IssueOps with GitHub Actions