fix the check run filter by id

This commit is contained in:
git-saurabh-dev 2024-05-20 18:37:19 +05:30
parent 38a17e98b2
commit a2f1b61c8b

View file

@ -301,7 +301,7 @@ export function getLatestCheckRunsByName(
// feels hacky... but we don't have any other meta data on a check run that
// differieates these.
const nameAndHasPRs =
checkRun.name +
checkRun.id +
(checkRun.pull_requests.length > 0
? 'isPullRequestCheckRun'
: 'isPushCheckRun')