Skip to content

Instantly share code, notes, and snippets.

@dlorenc
Last active November 17, 2019 15:56
Show Gist options
  • Save dlorenc/f87ac9a39dd4033612ed8458a358655b to your computer and use it in GitHub Desktop.
Save dlorenc/f87ac9a39dd4033612ed8458a358655b to your computer and use it in GitHub Desktop.
apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: ci-pipeline-binding
spec:
params:
- name: gitrevision
value: $(body.pull_request.head.sha)
- name: gitrepositoryurl
value: $(body.pull_request.head.repo.clone_url)
- name: prurl
value: $(body.pull_request.html_url)
- name: repo
value: $(body.pull_request.base.repo.full_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment