Probably you can take reference from https://github.com/tektoncd/plumbing/tree/main/tekton/ci. Each sub-dir has their respective triggertemplate and trigger. Their common listener looks like https://github.com/tektoncd/plumbing/blob/main/tekton/ci/shared/eventlistener.yaml. I hope this might help you. If you still have some doubts then feel free to reach me out on tektoncd.slack.com or on twitter at https://twitter.com/jvinamra776