I have this webhook payload when I close pull request: https://gist.github.com/akademic/5dfe294a0d37d812b5b5097a011586b7
Drone log: https://gist.github.com/akademic/7156124104dbdf983358f78017e7754d
And I have build only for merged commits without “Merge branch ‘master’ of sjrt/test_merge_webhook2 into seconf”.
For me it means that tests pushed before this merge doesn’t run.
I’ve created issue for gogs in github: https_:_//_github.com/gogits/gogs/issues/4442
But I dont know which way better:
- Gogs should send commit ref of “merge commit” in “after” field in webhook payload
- or Drone should use latest commit in “commits” list for building process
How do you think?