[ci.yaml] Use bot-commit
Bug: https://github.com/flutter/flutter/issues/93225
Change-Id: I643b283c8e0779a025e4752ca600db82c81071d8
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/20140
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
Commit-Queue: Casey Hillers <chillers@google.com>
diff --git a/recipes/infra/ci_yaml.expected/basic.json b/recipes/infra/ci_yaml.expected/basic.json
index d48297f..e53bad4 100644
--- a/recipes/infra/ci_yaml.expected/basic.json
+++ b/recipes/infra/ci_yaml.expected/basic.json
@@ -1205,7 +1205,7 @@
"--push-option",
"nokeycheck",
"origin",
- "HEAD:refs/for/main%l=Code-Review+2,l=Commit-Queue+2"
+ "HEAD:refs/for/main%l=Bot-Commit+1,l=Commit-Queue+2"
],
"cwd": "[START_DIR]/infra",
"infra_step": true,
diff --git a/recipes/infra/ci_yaml.expected/release.json b/recipes/infra/ci_yaml.expected/release.json
index 60179a5..70a2ca8 100644
--- a/recipes/infra/ci_yaml.expected/release.json
+++ b/recipes/infra/ci_yaml.expected/release.json
@@ -1205,7 +1205,7 @@
"--push-option",
"nokeycheck",
"origin",
- "HEAD:refs/for/main%l=Code-Review+2,l=Commit-Queue+2"
+ "HEAD:refs/for/main%l=Bot-Commit+1,l=Commit-Queue+2"
],
"cwd": "[START_DIR]/infra",
"infra_step": true,
diff --git a/recipes/infra/ci_yaml.expected/staging.json b/recipes/infra/ci_yaml.expected/staging.json
index dafeaa6..8a7174f 100644
--- a/recipes/infra/ci_yaml.expected/staging.json
+++ b/recipes/infra/ci_yaml.expected/staging.json
@@ -1205,7 +1205,7 @@
"--push-option",
"nokeycheck",
"origin",
- "HEAD:refs/for/main%l=Code-Review+2,l=Commit-Queue+2"
+ "HEAD:refs/for/main%l=Bot-Commit+1,l=Commit-Queue+2"
],
"cwd": "[START_DIR]/infra",
"infra_step": true,
diff --git a/recipes/infra/ci_yaml.py b/recipes/infra/ci_yaml.py
index c38a621..06edeb7 100644
--- a/recipes/infra/ci_yaml.py
+++ b/recipes/infra/ci_yaml.py
@@ -113,7 +113,8 @@
repo_dir = infra_path,
commit_message = 'Roll %s to %s' % (repo, git_ref),
cc_on_failure = ['flutter-infra@grotations.appspotmail.com'],
- labels_to_set = {'Code-Review': 2},
+ labels_to_set = {'Commit-Queue': 2},
+ bot_commit = True,
)