diff --git a/.tekton/github-mirror-master-pull-request.yaml b/.tekton/github-mirror-master-pull-request.yaml index f373317..c3985d5 100644 --- a/.tekton/github-mirror-master-pull-request.yaml +++ b/.tekton/github-mirror-master-pull-request.yaml @@ -6,7 +6,7 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' - pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/max-keep-runs: "10" pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "master" creationTimestamp: null diff --git a/.tekton/github-mirror-master-push.yaml b/.tekton/github-mirror-master-push.yaml index 7b160b8..ee48009 100644 --- a/.tekton/github-mirror-master-push.yaml +++ b/.tekton/github-mirror-master-push.yaml @@ -5,7 +5,7 @@ metadata: build.appstudio.openshift.io/repo: https://github.com/app-sre/github-mirror?rev={{revision}} build.appstudio.redhat.com/commit_sha: '{{revision}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' - pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/max-keep-runs: "25" pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "master" creationTimestamp: null