@@ -27,6 +27,7 @@ var AggregateResultsCmd = &cobra.Command{
2727 codeOwnersPath , _ := cmd .Flags ().GetString ("codeowners-path" )
2828 repoPath , _ := cmd .Flags ().GetString ("repo-path" )
2929 repoURL , _ := cmd .Flags ().GetString ("repo-url" )
30+ branchName , _ := cmd .Flags ().GetString ("branch-name" )
3031 headSHA , _ := cmd .Flags ().GetString ("head-sha" )
3132 baseSHA , _ := cmd .Flags ().GetString ("base-sha" )
3233 githubWorkflowName , _ := cmd .Flags ().GetString ("github-workflow-name" )
@@ -52,6 +53,7 @@ var AggregateResultsCmd = &cobra.Command{
5253 resultsPath ,
5354 reports .WithReportID (reportID ),
5455 reports .WithSplunk (splunkURL , splunkToken , splunkEvent ),
56+ reports .WithBranchName (branchName ),
5557 reports .WithBaseSha (baseSHA ),
5658 reports .WithHeadSha (headSHA ),
5759 reports .WithRepoURL (repoURL ),
@@ -199,6 +201,7 @@ func init() {
199201 AggregateResultsCmd .Flags ().StringP ("codeowners-path" , "" , "" , "Path to the CODEOWNERS file" )
200202 AggregateResultsCmd .Flags ().StringP ("repo-path" , "" , "." , "The path to the root of the repository/project" )
201203 AggregateResultsCmd .Flags ().String ("repo-url" , "" , "The repository URL" )
204+ AggregateResultsCmd .Flags ().String ("branch-name" , "" , "Branch name for the test report" )
202205 AggregateResultsCmd .Flags ().String ("head-sha" , "" , "Head commit SHA for the test report" )
203206 AggregateResultsCmd .Flags ().String ("base-sha" , "" , "Base commit SHA for the test report" )
204207 AggregateResultsCmd .Flags ().String ("github-workflow-name" , "" , "GitHub workflow name for the test report" )
0 commit comments