Update Starlark config to use 'main' branch

Change-Id: I6e2b5f5fbbca0dc4c4ca1374bcd1ee865929d20f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/87881
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/infra/config/global/generated/cr-buildbucket.cfg b/infra/config/global/generated/cr-buildbucket.cfg
index b94912c..d5dfd32 100644
--- a/infra/config/global/generated/cr-buildbucket.cfg
+++ b/infra/config/global/generated/cr-buildbucket.cfg
@@ -19,7 +19,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:true"
@@ -40,7 +40,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:true"
@@ -61,7 +61,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:false"
@@ -82,7 +82,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:false"
@@ -103,7 +103,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:true"
@@ -128,7 +128,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:false"
@@ -153,7 +153,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:true"
@@ -178,7 +178,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:true"
@@ -203,7 +203,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:false"
@@ -228,7 +228,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "clang:true"
         properties_j: "debug:false"
@@ -253,7 +253,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "clang:false"
         properties_j: "debug:true"
         properties_j: "target_cpu:\"x64\""
@@ -273,7 +273,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "clang:false"
         properties_j: "debug:false"
         properties_j: "target_cpu:\"x64\""
@@ -309,7 +309,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -331,7 +331,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -353,7 +353,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -375,7 +375,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -397,7 +397,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -423,7 +423,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -449,7 +449,7 @@
       recipe {
         name: "run_presubmit"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "repo_name:\"tint\""
         properties_j: "runhooks:true"
@@ -469,7 +469,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -495,7 +495,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -521,7 +521,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -547,7 +547,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$build/goma:{\"enable_ats\":true,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\"}"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:true"
@@ -573,7 +573,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:false"
         properties_j: "debug:true"
@@ -594,7 +594,7 @@
       recipe {
         name: "tint"
         cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
-        cipd_version: "refs/heads/master"
+        cipd_version: "refs/heads/main"
         properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
         properties_j: "clang:false"
         properties_j: "debug:false"
diff --git a/infra/config/global/main.star b/infra/config/global/main.star
index 3a0b597..c3f0bce 100755
--- a/infra/config/global/main.star
+++ b/infra/config/global/main.star
@@ -114,7 +114,7 @@
     return luci.recipe(
         name = "tint",
         cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
-        cipd_version = "refs/heads/master",
+        cipd_version = "refs/heads/main",
     )
 
 def get_os_from_arg(arg):
@@ -325,7 +325,7 @@
     executable = luci.recipe(
         name = "run_presubmit",
         cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
-        cipd_version = "refs/heads/master",
+        cipd_version = "refs/heads/main",
     ),
     dimensions = {
         "cpu": "x86-64",