diff --git a/.tekton/scanner-build.yaml b/.tekton/scanner-build.yaml index b46fedc05..eb7bcfa2f 100644 --- a/.tekton/scanner-build.yaml +++ b/.tekton/scanner-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-on-push" pipelinesascode.tekton.dev/on-cel-expression: | (event == "pull_request" && body.action != "ready_for_review") || (event == "push" && target_branch.matches("^(master|release-.*|refs/tags/.*)$")) diff --git a/.tekton/scanner-db-build.yaml b/.tekton/scanner-db-build.yaml index 14bc422c7..68362b440 100644 --- a/.tekton/scanner-db-build.yaml +++ b/.tekton/scanner-db-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-db-on-push" pipelinesascode.tekton.dev/on-cel-expression: | (event == "pull_request" && body.action != "ready_for_review") || (event == "push" && target_branch.matches("^(master|release-.*|refs/tags/.*)$")) diff --git a/.tekton/scanner-db-slim-build.yaml b/.tekton/scanner-db-slim-build.yaml index f08620c78..0fda13af8 100644 --- a/.tekton/scanner-db-slim-build.yaml +++ b/.tekton/scanner-db-slim-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-db-slim-on-push" pipelinesascode.tekton.dev/on-cel-expression: | (event == "pull_request" && body.action != "ready_for_review") || (event == "push" && target_branch.matches("^(master|release-.*|refs/tags/.*)$")) diff --git a/.tekton/scanner-slim-build.yaml b/.tekton/scanner-slim-build.yaml index 3b6d12a18..b3c6c4928 100644 --- a/.tekton/scanner-slim-build.yaml +++ b/.tekton/scanner-slim-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-slim-on-push" pipelinesascode.tekton.dev/on-cel-expression: | (event == "pull_request" && body.action != "ready_for_review") || (event == "push" && target_branch.matches("^(master|release-.*|refs/tags/.*)$"))