Open Johennes opened 1 year ago
I'm experiencing the same issue.
@matiasalbarello I'm tagging you because you show up as the top contributor in this repo. Any ideas about this?
@radnov you can try using my fork or commits if you like https://github.com/lewagon/wait-on-check-action/compare/master...t3chguy:wait-on-check-action:master - no guarantees obviously
Wow, thank you so much for the rapid and helpful response @t3chguy! Using the commit sha didn't come to mind ... 🤦
Thank you ! please consider merging it, this is a well needed feature.
We're using the wait-on-check action for downstream tests. In particular this means the action is triggered from a commit in one repository and then runs the downstream tests using the current HEAD of another repository. This creates a problem because the action currently looks at all checks for that HEAD – including those triggered from previous commits to the first repository. To prevent that, I think the action should filter the checks so that only the latest one for each name / ID is taken into account.