[x]):I have Drone connected to Gitea for CIs. It works all fine except when I merge Pull Requests: Drone does build PRs but doesn't deploy them.
Example: This is a PR I worked with. With this commit I merged the PR with master. And this is the drone build which is just testing the PR before it has been accepted – it actually never deployed. The Drone file should be correct: .drone.yml
A comment on my SO question suggests that the Webhook Gitea sends lacks a branch name – it should be master to trigger the drone build. This is also visible in the API output.
Can it be that Gitea has a bug here?
My Gitea webhook setiing: https://i.imgur.com/sh8bwEv.jpg
What's your Drone version and is this still a problem?
Yes, it's still an issue.
Drone version is 0.8.2. I just tested it with this PR. The following Drone build made syntax check etc (before the merge) but didn't deploy the updated master after the merge.
.drone.yml hasn't been changed and should catch updates to master.
I think I may have fixed this in drone/drone#2320
Short update: The PR in drone has been merged but I cannot test it yet because Drone hasn't had a release yet and we only use stable versions in our organisation
Closing this issue as fixed in drone. If issue persists even after drone upgrade to latest (with that fix) version please reopen
Most helpful comment
I think I may have fixed this in drone/drone#2320