Situation:
Making commit, open pull request, and the test failing, then I'm making amend (git commit --amend and git push --force) for fixing this test. Test is definitely fixed, but after force push the build on drone is failing again with the same error.
New commits sometimes help, sometimes not. In a case, when new commits doesn't help, I don't know how to fix a problem, it can take hours or days of experimenting (creating new commits, pushing to the same branch, but still the same error, which definitely doesn't exists in commit, which drone builds or at least shows it) until drone stops to build some very old state(first commit) of files.
Is there at least any workaround, what I can do manually to fix this problem?
Removing cache doesn't help. Drone restart doesn't help.
Drone version: drone/drone:0.8.5
We use it with github, sometimes I think, it can be some problem of github cache, because the problem mostly disappears from them-self without any reasons. Because it is a pull request and may be there is error between commit hash it gets from webhook and actual changes, it fetches from github.