diff --git a/artifactory/utils/commandsummary/utils.go b/artifactory/utils/commandsummary/utils.go index 87b8ceffa..f9e51b3ec 100644 --- a/artifactory/utils/commandsummary/utils.go +++ b/artifactory/utils/commandsummary/utils.go @@ -45,8 +45,8 @@ type summarySection string const ( artifactsSection summarySection = "artifacts" - packagesSection = "packages" - buildInfoSection = "build" + packagesSection summarySection = "packages" + buildInfoSection summarySection = "buildInfo" ) // addGitHubTrackingToUrl adds GitHub-related query parameters to a given URL if the GITHUB_WORKFLOW environment variable is set. diff --git a/artifactory/utils/commandsummary/utils_test.go b/artifactory/utils/commandsummary/utils_test.go index b477921e7..3a85b2cab 100644 --- a/artifactory/utils/commandsummary/utils_test.go +++ b/artifactory/utils/commandsummary/utils_test.go @@ -71,7 +71,7 @@ func TestAddGitHubTrackingToUrl(t *testing.T) { "https://example.com/path", buildInfoSection, "workflow123", - "https://example.com/path?gh_job_id=workflow123&gh_section=build", + "https://example.com/path?gh_job_id=workflow123&gh_section=buildInfo", false, }, {