Skip to content

Commit

Permalink
CR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalb4doc committed Dec 25, 2024
1 parent 3fa3a9d commit 6947959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions artifactory/utils/commandsummary/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion artifactory/utils/commandsummary/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 6947959

Please sign in to comment.