@@ -7,8 +7,25 @@ metadata:
77 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
88 pipelinesascode.tekton.dev/max-keep-runs : " 3"
99 # switch comment in/out at branch cut / release
10- # pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
11- pipelinesascode.tekton.dev/on-cel-expression : " false"
10+ pipelinesascode.tekton.dev/on-cel-expression : |
11+ event == "push" && target_branch == "main" && (
12+ ".tekton/***".pathChanged() ||
13+ ".dockerignore".pathChanged() ||
14+ "Dockerfile.downstream".pathChanged() ||
15+ "Dockerfile-args.downstream".pathChanged() ||
16+ "go.mod".pathChanged() ||
17+ "go.sum".pathChanged() ||
18+ "main.go".pathChanged() ||
19+ "Makefile".pathChanged() ||
20+ "cmd/***".pathChanged() ||
21+ "commands/***".pathChanged() ||
22+ "res/***".pathChanged() ||
23+ "scripts/***".pathChanged() ||
24+ ".mk/***".pathChanged() ||
25+ "LICENSE".pathChanged() ||
26+ "vendor/***".pathChanged()
27+ )
28+ # pipelinesascode.tekton.dev/on-cel-expression: "false"
1229 creationTimestamp : null
1330 labels :
1431 appstudio.openshift.io/application : netobserv-ystream
0 commit comments