(left WorkflowRun, right WorkflowRun)
| 292 | } |
| 293 | |
| 294 | func sameAuditComparisonWorkflow(left WorkflowRun, right WorkflowRun) bool { |
| 295 | if left.WorkflowPath != "" && right.WorkflowPath != "" { |
| 296 | return left.WorkflowPath == right.WorkflowPath |
| 297 | } |
| 298 | if left.WorkflowName != "" && right.WorkflowName != "" { |
| 299 | return left.WorkflowName == right.WorkflowName |
| 300 | } |
| 301 | return false |
| 302 | } |
| 303 | |
| 304 | func buildAuditComparisonForProcessedRuns(currentRun ProcessedRun, processedRuns []ProcessedRun) *AuditComparisonData { |
| 305 | auditComparisonLog.Printf("Building audit comparison for run %d from %d processed runs", currentRun.Run.DatabaseID, len(processedRuns)) |
no outgoing calls
no test coverage detected