Initial submission
This commit is contained in:
18
triggerbinding/gitea-webhook-binding.yaml
Normal file
18
triggerbinding/gitea-webhook-binding.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: triggers.tekton.dev/v1beta1
|
||||
kind: TriggerBinding
|
||||
metadata:
|
||||
name: gitea-binding
|
||||
spec:
|
||||
params:
|
||||
- name: gitrepositoryurl
|
||||
value: $(body.repository.clone_url)
|
||||
- name: gitcommitsha
|
||||
value: $(body.pull_request.head.sha)
|
||||
- name: gitfullreponame
|
||||
value: $(body.pull_request.base.repo.full_name)
|
||||
- name: gitbranch
|
||||
value: $(body.pull_request.head.ref)
|
||||
- name: gitreponame
|
||||
value: $(body.pull_request.base.repo.name)
|
||||
- name: gitprindex
|
||||
value: $(body.pull_request.number)
|
||||
Reference in New Issue
Block a user