diff --git a/kustomization/base/tekton/trigger/imagebuild-binding.yaml b/kustomization/base/tekton/trigger/imagebuild-binding.yaml index 661227a..9f22434 100644 --- a/kustomization/base/tekton/trigger/imagebuild-binding.yaml +++ b/kustomization/base/tekton/trigger/imagebuild-binding.yaml @@ -7,7 +7,7 @@ spec: - name: url value: $(body.repository.clone_url) - name: revision - value: $(body.pull_request.head.ref) + value: $(body.pull_request.base.ref) - name: image value: $(body.repository.full_name) - name: tag diff --git a/kustomization/base/tekton/trigger/msebuild-binding.yaml b/kustomization/base/tekton/trigger/msebuild-binding.yaml index 698a125..7b66f48 100644 --- a/kustomization/base/tekton/trigger/msebuild-binding.yaml +++ b/kustomization/base/tekton/trigger/msebuild-binding.yaml @@ -7,7 +7,7 @@ spec: - name: url value: $(body.repository.clone_url) - name: revision - value: $(body.pull_request.head.ref) + value: $(body.pull_request.base.ref) - name: image value: $(body.repository.full_name) - name: apiurl