[GHF] Ignore cancelled workflows (#82359)
If both cancelled and successful/failed workflow with the same name
exist, ignore the conclusion of cancelled one
Fixes https://github.com/pytorch/pytorch/issues/82335
### Description
<!-- What did you change and why was it needed? -->
### Issue
<!-- Link to Issue ticket or RFP -->
### Testing
<!-- How did you test your change? -->
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82359
Approved by: https://github.com/zengk95, https://github.com/janeyx99