[ci] don't upload test stats for cancelled workflows
Switching it back to the old behavior. It is causing a bunch of noise
when I am monitoring the workflow for failures. For example, this job
fails https://github.com/pytorch/pytorch/actions/runs/2465525187 because
its source workflow was cancelled before any tests were run:
https://github.com/pytorch/pytorch/actions/runs/2465519366.
Since we don't use this info today (and I have a kind of hard
time imagining how we would use info from cancelled workflows), I think
we should just skip these.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79180
Approved by: https://github.com/seemethere, https://github.com/janeyx99