check-dependencies: use "main" as default branch for api-go and sdk-go (#10566)

## What changed?
Updated cmd/tools/check-dependencies to use main (not master) as the
default branch for both go.temporal.io/api and go.temporal.io/sdk when
resolving pseudo-version origins.

## Why?
Both temporalio/api-go and temporalio/sdk-go have renamed their default
branch from master to main.

## How did you test it?
- [X] built
- [ ] run locally and tested manually
- [X] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
This commit is contained in:
Fred Tzeng
2026-06-05 17:57:22 -07:00
committed by GitHub
parent 71dd8ed694
commit 2d4ac1a4bd

View File

@@ -34,12 +34,12 @@ var knownModules = []moduleSpec{
{
modulePath: "go.temporal.io/api",
repoURL: "https://github.com/temporalio/api-go.git",
defaultBranch: "master",
defaultBranch: "main",
},
{
modulePath: "go.temporal.io/sdk",
repoURL: "https://github.com/temporalio/sdk-go.git",
defaultBranch: "master",
defaultBranch: "main",
},
}