Skip to content

Commit

Permalink
chore: add correct contenttype to triggerbinding examples
Browse files Browse the repository at this point in the history
  • Loading branch information
l-qing committed Aug 12, 2024
1 parent d0ed482 commit 584772f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/v1alpha1/bitbucket-server/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ spec:
value: $(body.changes[0].ref.displayId)
- name: gitrepositoryurl
value: $(body.repository.links.clone[0].href)
- name: contenttype
value: $(header.Content-Type)
2 changes: 2 additions & 0 deletions examples/v1alpha1/cron/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ spec:
value: main
- name: gitrepositoryurl
value: https://github.com/tektoncd/triggers
- name: contenttype
value: $(header.Content-Type)
2 changes: 2 additions & 0 deletions examples/v1beta1/cron/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ spec:
value: main
- name: gitrepositoryurl
value: https://github.com/tektoncd/triggers
- name: contenttype
value: $(header.Content-Type)

0 comments on commit 584772f

Please sign in to comment.