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:
parent
2ce3279ebc
commit
64d5d6c6c8
1 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ func populateLogSegments(httpClient *http.Client, repo ghrepo.Interface, jobs []
|
||||||
|
|
||||||
apiLogFetcherCount := 0
|
apiLogFetcherCount := 0
|
||||||
for _, job := range jobs {
|
for _, job := range jobs {
|
||||||
|
if shared.IsSkipped(job.Conclusion) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
if onlyFailed && !shared.IsFailureState(job.Conclusion) {
|
if onlyFailed && !shared.IsFailureState(job.Conclusion) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue