Skip to content

Commit 5c13847

Browse files
committed
ci: update workflow-template
Add filter to eventsource Filter events to only trigger on pushes to the `{{ $app.github.branch }}` branch.
1 parent 2e3aa38 commit 5c13847

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chart/templates/app/ci/eventsource.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ spec:
2828
events:
2929
- push
3030
- delete
31+
filter:
32+
data:
33+
- path: "ref"
34+
type: "string"
35+
value: "refs/heads/{{ $app.github.branch }}"
3136
apiToken:
3237
name: {{ $.Values.project }}-github-access-secret
3338
key: token

0 commit comments

Comments
 (0)