Hi there, I was looking into what would be needed to set up preview deploys through tangled pipelines. The main thing that appears to be missing is a teardown trigger for when a PR is closed. From what I can tell there exists a "pull_request:closed" webhook event type, but workflows only have the triggers "push", "pullRequest" and "manual".
Would love to take this feature on if you guys support it!
teardown trigger? you can use
/xrpc/sh.tangled.ci.cancelPipelineand that should destroy it