fix(run view): avoid looking for job log if its been skipped

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-07-16 14:18:27 +01:00
parent 2ce3279ebc
commit 64d5d6c6c8
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -91,6 +91,10 @@ func populateLogSegments(httpClient *http.Client, repo ghrepo.Interface, jobs []
apiLogFetcherCount := 0
for _, job := range jobs {
if shared.IsSkipped(job.Conclusion) {
continue
}
if onlyFailed && !shared.IsFailureState(job.Conclusion) {
continue
}