无人机忽略从 bitbucket 云发送的 pullrequest:created webhook

Drone ignores pullrequest:created webhook sent from bitbucket cloud

我的无人机 CI 服务器为私有 bitbucket 云存储库上的多个事件配置了一个 webhook,其中包括多个拉取请求相关事件(创建、更新、拒绝等)。我在我的存储库中配置了以下管道

# .drone.yml
kind: pipeline
type: docker
name: default
steps:
- ...

trigger:
  event:
  - pull_request

我希望在打开拉取请求时执行此管道,但这并没有发生,而是无人机输出以下消息

{"level":"debug","msg":"webhook ignored","time":"..."}

{"fields.time":"...","latency":...,"level":"debug","method":"POST","msg":"","remote":"...","request":"/hook?secret=...","time":"..."}

当我拒绝或触发其他拉取请求相关事件时,我在调试消息中看到无人机正在正确接收它们。 当我使用推送事件触发管道时,它会被正确执行,并且结果会毫无问题地传达给 bitbucket。 当我比较拉取请求拒绝事件(被无人机正确检测到)和拉取请求创建事件(被无人机忽略)的 headers(用于请求和响应)时,两者看起来非常相似。

无人机版本:1.10.1 Docker 亚军版本:1.6.2

无人机暂时不支持pull request events for bitbucket cloud

Bitbucket 也有关于此的 an open issue