blob: a5ee1b39ce5990fd63179efd3ba1d08feb4bacd9 [file] [log] [blame]
// Copyright 2020 The Pigweed Authors
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
syntax = "proto3";
package recipes.pigweed.submodule_roller;
message InputProperties {
// The path of the submodule to update. Required.
string submodule_path = 1;
// Branch to get latest from when new_revision is None and no buildbucket
// trigger.
string submodule_branch = 3;
// Don't do anything that has external effects.
bool dry_run = 4;
// The name of the submodule to update. Defaults to the value of
// submodule_path. Only necessary if the name and path in the .gitmodules file
// are different.
string submodule_name = 5;
// Whether to CC authors and/or reviewers on roll CLs. In case the owner of a
// CL is different from the author, both are included when
// cc_authors_on_rolls is set.
bool cc_authors_on_rolls = 6;
bool cc_reviewers_on_rolls = 7;
// Restrict CCing of authors/reviewers to the following domains. Including
// "" will not automatically include "". If
// empty, all domains will included except those ending with
// "" are always excluded.
repeated string cc_domains = 8;
// By default, only CC when a roll fails. If always_cc is set, CC when the
// roll is created.
bool always_cc = 9;
// Vote Bot-Commit+1 instead of Code-Review+2.
bool bot_commit = 10;
// Forge the author so rolls of single commits are attributed to the original
// commit author.
bool forge_author = 11;