[SPARK-35575][INFRA] Recover updating build status in GitHub Actions
[SPARK-35575][INFRA] Recover updating build status in GitHub Actions

### What changes were proposed in this pull request?

This PR fixes the logic to be fault tolerant when it gets the status of the workflow run from PR author's forked repository.

Looks like https://github.com/apache/spark/pull/32483 removed and disabled (see also https://github.com/apache/spark/pull/32486/checks?check_run_id=2648696751) the GitHub actions workflow runs in the forked repositories, and the detection logic in the main repo fails because the runs don't exist anymore.

See also https://github.com/apache/spark/runs/2709537998?check_suite_focus=true

### Why are the changes needed?

To recover the status update of GitHub Actions in PRs.

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

It cannot be tested without being merged.

Closes #32711 from HyukjinKwon/SPARK-35575.

Authored-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

vinodkc/spark,nchammas/spark,nchammas/spark,jiangxb1987/spark,ueshin/apache-spark,gengliangwang/spark,wangyum/spark,wangyum/spark,mahak/spark,jiangxb1987/spark,mahak/spark,witgo/spark,hvanhovell/spark,zero323/spark,taroplus/spark,xuanyuanking/spark,vinodkc/spark,srowen/spark,ueshin/apache-spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,cloud-fan/spark,maropu/spark,taroplus/spark,jiangxb1987/spark,hvanhovell/spark,milliman/spark,gengliangwang/spark,srowen/spark,dongjoon-hyun/spark,taroplus/spark,nchammas/spark,chuckchen/spark,xuanyuanking/spark,mahak/spark,apache/spark,cloud-fan/spark,jiangxb1987/spark,wangyum/spark,HyukjinKwon/spark,taroplus/spark,hvanhovell/spark,JoshRosen/spark,holdenk/spark,rednaxelafx/apache-spark,holdenk/spark,shaneknapp/spark,HyukjinKwon/spark,holdenk/spark,maropu/spark,hvanhovell/spark,zzcclp/spark,rednaxelafx/apache-spark,gengliangwang/spark,chuckchen/spark,jiangxb1987/spark,rednaxelafx/apache-spark,holdenk/spark,JoshRosen/spark,rednaxelafx/apache-spark,ueshin/apache-spark,apache/spark,mahak/spark,dongjoon-hyun/spark,shaneknapp/spark,hvanhovell/spark,vinodkc/spark,JoshRosen/spark,milliman/spark,milliman/spark,cloud-fan/spark,milliman/spark,srowen/spark,JoshRosen/spark,maropu/spark,xuanyuanking/spark,apache/spark,shaneknapp/spark,jiangxb1987/spark,holdenk/spark,wangmiao1981/spark,milliman/spark,apache/spark,rednaxelafx/apache-spark,shaneknapp/spark,WeichenXu123/spark,wangyum/spark,vinodkc/spark,cloud-fan/spark,gengliangwang/spark,srowen/spark,vinodkc/spark,dongjoon-hyun/spark,srowen/spark,witgo/spark,WeichenXu123/spark,milliman/spark,chuckchen/spark,mahak/spark,maropu/spark,ueshin/apache-spark,apache/spark,srowen/spark,xuanyuanking/spark,chuckchen/spark,hvanhovell/spark,gengliangwang/spark,mahak/spark,wangmiao1981/spark,shaneknapp/spark,zzcclp/spark,zzcclp/spark,srowen/spark,cloud-fan/spark,zero323/spark,chuckchen/spark,witgo/spark,ueshin/apache-spark,hvanhovell/spark,zero323/spark,wangmiao1981/spark,WeichenXu123/spark,zero323/spark,wangyum/spark,HyukjinKwon/spark,jiangxb1987/spark,HyukjinKwon/spark,dongjoon-hyun/spark,holdenk/spark,zzcclp/spark,HyukjinKwon/spark,WeichenXu123/spark,HyukjinKwon/spark,dongjoon-hyun/spark,witgo/spark,wangmiao1981/spark,dongjoon-hyun/spark,wangyum/spark,nchammas/spark,witgo/spark,nchammas/spark,taroplus/spark,shaneknapp/spark,nchammas/spark,holdenk/spark,JoshRosen/spark,maropu/spark,witgo/spark,mahak/spark,zero323/spark,taroplus/spark,wangmiao1981/spark,milliman/spark,WeichenXu123/spark,zero323/spark,zero323/spark,JoshRosen/spark,vinodkc/spark,nchammas/spark,apache/spark,wangmiao1981/spark,chuckchen/spark,witgo/spark,vinodkc/spark,wangyum/spark,maropu/spark,WeichenXu123/spark,ueshin/apache-spark,cloud-fan/spark,zzcclp/spark,apache/spark,ueshin/apache-spark,taroplus/spark,chuckchen/spark,xuanyuanking/spark,gengliangwang/spark,shaneknapp/spark,WeichenXu123/spark,gengliangwang/spark,rednaxelafx/apache-spark,JoshRosen/spark,wangmiao1981/spark,HyukjinKwon/spark,zzcclp/spark,maropu/spark,zzcclp/spark,cloud-fan/spark,xuanyuanking/spark,xuanyuanking/spark