Open
Description
We currently get the commit status by hitting this endpoint https://api.github.com/repos/cucumber/cucumber-jvm/commits/master/status
But REF master does not always return the status and errors in 404.
Tasks
Change the api call to fetch status using the commit ref instead of master
- Get the latest commit ref from master
- Use the latest commit ref to fetch the commit status
E.g.
https://api.github.com/repos/cucumber/cucumber-jvm/commits/master/status returns ❌
https://api.github.com/repos/cucumber/cucumber-jvm/commits/bb97c6943659018e5e8496aff6a18d73eec06f26/status 🆗