Skip to content

Commit

Permalink
fix(STONEINTG-1096): remove pr name from integration test report title
Browse files Browse the repository at this point in the history
* remove pr name from integration test report in checkRun and
  commitStatus

Signed-off-by: Hongwei Liu <hongliu@redhat.com>
  • Loading branch information
hongweiliu17 authored and dirgim committed Jan 21, 2025
1 parent bba1b0a commit b8d2b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/statusreport/statusreport_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (a *Adapter) iterateIntegrationTestStatusDetailsInStatusReport(reporter sta
// set componentName to component name of component snapshot or pr group name of group snapshot when reporting status to git provider
componentName := ""
if gitops.IsGroupSnapshot(testedSnapshot) {
componentName = "pr group " + testedSnapshot.Annotations[gitops.PRGroupAnnotation]
componentName = "pr group"
} else if gitops.IsComponentSnapshot(testedSnapshot) {
componentName = testedSnapshot.Labels[gitops.SnapshotComponentLabel]
} else {
Expand Down

0 comments on commit b8d2b41

Please sign in to comment.