Skip to content

Commit

Permalink
Display owner/repo
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita committed Jan 15, 2025
1 parent d0fc1f2 commit 26510de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/datastore/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ func getPendingRunByRepo(ctx context.Context, client *github.Client, owner, repo
oldMinutes := 30
sinceMinutes := time.Since(r.CreatedAt.Time).Minutes()
if sinceMinutes >= float64(oldMinutes) {
logger.Logf(false, "run %d is pending over %d minutes, So will enqueue", r.GetID(), oldMinutes)
logger.Logf(false, "run %d is pending over %d minutes, So will enqueue (repo: %s/%s)", r.GetID(), oldMinutes, owner, repo)
pendingRuns = append(pendingRuns, r)
} else {
logger.Logf(true, "run %d is pending, but not over %d minutes. So ignore (since: %f minutes)", r.GetID(), oldMinutes, sinceMinutes)
logger.Logf(true, "run %d is pending, but not over %d minutes. So ignore (since: %f minutes, repo: %s/%s)", r.GetID(), oldMinutes, sinceMinutes, owner, repo)
}
}
}
Expand Down

0 comments on commit 26510de

Please sign in to comment.