Files
cicdTest/manifests/test.yaml
2020-03-12 13:27:04 +01:00

21 lines
521 B
YAML

apiVersion: tekton.dev/v1alpha1
kind: EventListener
metadata:
name: github-event-listener
#namespace: stage-tekton-pipeline
spec:
serviceAccountName: service-acc
triggers:
- name: github-trigger
interceptors:
- github:
secretRef:
secretName: webhook-secret
secretKey: secret
eventTypes:
- pull_request
- push
bindings:
name: github-trigger-binding
template:
name: github-trigger-template