Your pipeline does not need code? GoCD pipelines require some kind of material at least. Here a material need not be a code repo. It could be an upstream pipeline, or a package repository (eg, rpm) or a custom type based on a plugin.
As a side note, a webhook from, say, GitHub merely triggers the pipeline to fetch updates to its SCM material, rather than polling for code changes. That’s generally what it’s meant for.
Maybe could you elaborate more on your use case where you need a push mechanism to trigger a pipeline, but don’t need code to perform the tasks?