Running drone0.8
To get the latest build on master, I used to to do:
GET /api/repos/{owner}/{name}/builds/latest?branch=master
But now when you restart a build, it has a new build number. So the latest build on master might not be the build triggered by the latest push on master. It may be an old build that was restarted.
Is there a workaround this?