Do you want to run a workflow after a git push on a repository? This kind of hook is for you.
You have to:
GitHub / GitHub Enterprise / Bitbucket Cloud / Bitbucket Server / GitLab are supported by CDS.
When you add a repository webhook, it will also automatically delete your runs which are linked to a deleted branch (24h after branch deletion).