You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/src/upload_command.rs
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ use api::client::{ApiClient, ApiErrorEndpoint};
7
7
use api::{client::get_api_host, urls::url_for_test_case};
8
8
use bundle::{BundleMeta,BundlerUtil,Test, unzip_tarball};
9
9
use clap::{ArgAction,Args};
10
+
use codeowners::OwnersSource;
10
11
use constants::EXIT_SUCCESS;
11
12
use context::bazel_bep::common::BepParseResult;
12
13
use display::{end_output::EndOutput, message::DisplayMessage};
@@ -123,6 +124,13 @@ pub struct UploadArgs {
123
124
help = "Override the path to a CODEOWNERS file. Used to associate test failures with code owners."
124
125
)]
125
126
pubcodeowners_path:Option<String>,
127
+
#[arg(
128
+
long,
129
+
env = constants::TRUNK_CODEOWNERS_TYPE_ENV,
130
+
value_enum,
131
+
help = "Specify CODEOWNERS parser type ('github' or 'gitlab'). Optional; when unset, codeowners type will be inferred."
132
+
)]
133
+
pubcodeowners_type:Option<CodeownersType>,
126
134
#[arg(
127
135
long,
128
136
help = "Run commands with the quarantining step. Deprecated, prefer --disable-quarantining, which takes priority over this flag, to control quarantining.",
0 commit comments