Skip to content

Commit 034f184

Browse files
committed
skip forks (only head)
Signed-off-by: Markus Blaschke <[email protected]>
1 parent f0f1495 commit 034f184

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

metrics_github_workflows.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,6 @@ func (m *MetricsCollectorGithubWorkflows) collectLatestRun(org string, repo *git
479479
workflowId := workflowRun.GetWorkflowID()
480480

481481
// skip forks
482-
if workflowRun.GetRepository().Fork != nil && *workflowRun.GetRepository().Fork {
483-
continue
484-
}
485482
if workflowRun.GetHeadRepository().Fork != nil && *workflowRun.GetHeadRepository().Fork {
486483
continue
487484
}

0 commit comments

Comments
 (0)