File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ kind: PipelineRun
44metadata :
55 name : doc-generation
66 annotations :
7- pipelinesascode.tekton.dev/task : " [git-clone]"
87 pipelinesascode.tekton.dev/max-keep-runs : " 2"
9- pipelinesascode.tekton.dev/on-cel-expression : |
10- event == "pull_request" && "docs/***".pathChanged()
8+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
9+ pipelinesascode.tekton.dev/on-event : " pull_request"
10+ pipelinesascode.tekton.dev/on-path-change : " [docs/***]"
11+ pipelinesascode.tekton.dev/on-target-branch : " main"
1112spec :
1213 params :
1314 - name : repo_url
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ metadata:
66 annotations :
77 pipelinesascode.tekton.dev/task : " [git-clone]"
88 pipelinesascode.tekton.dev/max-keep-runs : " 2"
9+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
910 pipelinesascode.tekton.dev/on-cel-expression : |
1011 event == "push" && target_branch == "main" && ("***/*.go".pathChanged() || "config/***".pathChanged() || ".tekton/generate-coverage-release.yaml".pathChanged())
1112spec :
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ metadata:
66 annotations :
77 pipelinesascode.tekton.dev/task : " [git-clone]"
88 pipelinesascode.tekton.dev/max-keep-runs : " 2"
9- pipelinesascode.tekton.dev/on-cel-expression : |
10- event == "pull_request" && "***/*.go".pathChanged()
9+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
10+ pipelinesascode.tekton.dev/on-event : " pull_request"
11+ pipelinesascode.tekton.dev/on-target-branch : " main"
12+ pipelinesascode.tekton.dev/on-path-change : " [***/*.go]"
1113spec :
1214 params :
1315 - name : repo_url
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ metadata:
77 pipelinesascode.tekton.dev/on-event : " [push, pull_request]"
88 pipelinesascode.tekton.dev/on-target-branch : " [*]"
99 pipelinesascode.tekton.dev/max-keep-runs : " 2"
10+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
1011 pipelinesascode.tekton.dev/task : " [git-clone]"
1112spec :
1213 params :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ metadata:
88 pipelinesascode.tekton.dev/on-target-branch : " [refs/tags/*]"
99 pipelinesascode.tekton.dev/task : " [.tekton/tasks/goreleaser.yaml]"
1010 pipelinesascode.tekton.dev/task-1 : " [git-clone]"
11+ pipelinesascode.tekton.dev/cancel-in-progress : " true"
1112 pipelinesascode.tekton.dev/max-keep-runs : " 2"
1213spec :
1314 params :
You can’t perform that action at this time.
0 commit comments