Drone

Disabling Repo on Drone does not delete webhook

Is this expected behavior? It’s a small “would be nice” thing if it worked like this. The current behavior has the propensity to leave dead webhooks lying around if/when repos are disabled.

when you disable a repository Drone ignores webhooks but does not remove. On re-activation it will detect the existing hook. I cannot remember why we made the decision not to remove, but it is something I am open to revisiting if you are interested in sending a pull request.

(edited original comment, misunderstood question)

I might be able to send a pull request for this. looks easy enough.

1 Like

hi, i send a pull request for this issue. i have tested this feature in gitlab.

pr url: https://github.com/drone/drone/pull/2982

i’m sorry i do not know how to associate pr with issue.