feat: check all git remotes for GitHub URL in ci migrate preflight by lukevmorris · Pull Request #472 · depot/cli
Previously, detectRepoFromGitRemote only checked the 'origin' remote. Some customers have multiple remotes where origin does not point to GitHub. Now we iterate all configured remotes and pick the first one with a github.com URL. Also adds hostname validation to parseGitHubRepo to ensure non-GitHub remotes are correctly skipped.
bot reviewed Mar 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters