GITEA closed pull request ignored

Hello,

I’m having problem getting Drone to run pipeline, when pull request in Gitea is closed or merged. Debug log:

time="2022-07-12T14:30:50Z" level=debug msg="webhook parsed" commit=66963806f60ba346ee26296a4ac2e0868c7e6709 event=pull_request name=servicedesk namespace=nwt
time="2022-07-12T14:30:50Z" level=debug msg="pull request closed" commit=66963806f60ba346ee26296a4ac2e0868c7e6709 event=pull_request name=servicedesk namespace=nwt ref=refs/pull/167/head
time="2022-07-12T14:30:50Z" level=debug fields.time="2022-07-12T14:30:50Z" latency=5.400973ms method=POST remote="172.19.0.2:38748" request="/hook?secret=#" request-id=2BqapO0go8Y3UcS1OzmLfNIyGEZ

Nothing else in the log as in other cases(opened, synchronized).

.drone.yml:

trigger:
  event:
    - pull_request
  action:
    - closed

Any ideas what could be wrong? Synchronize and opened works like charm. Thanks for any help.

similar to Travis and Circle, Drone only supports the pull request create and sync events. All other pull request events (close, comment, etc) are ignored.

No the answer I wanted :smiley: For every feature/hotfix(using Gitflow Workflow) PR I start new instance of application with database… I need to shut that instance down, when PR is merged or closed… I use PR number in container name to easily identify it… Is there any other way, how to make it work?