From 0c9bd5168606abb3c34a0cbcca697099565b8ec1 Mon Sep 17 00:00:00 2001 From: Adam Cmiel Date: Wed, 24 Jul 2024 10:59:22 +0200 Subject: [PATCH] temp: also exclude .tekton/* This should make the pipeline not run Signed-off-by: Adam Cmiel --- .tekton/pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tekton/pull-request.yaml b/.tekton/pull-request.yaml index 8f178a7047..aabb1a1b36 100644 --- a/.tekton/pull-request.yaml +++ b/.tekton/pull-request.yaml @@ -17,7 +17,7 @@ metadata: ) && ( // Don't run pipeline if only these files changed. Note that 'files.all' is an object // coming from PaC (list of all changed files) while the second 'all' is a CEL macro. - !files.all.all(x, x.matches(r"^(renovate\.json|.*\.md|\.github/.*)$")) + !files.all.all(x, x.matches(r"^(renovate\.json|.*\.md|\.github/.*|\.tekton/.*)$")) ) pipelinesascode.tekton.dev/task: "[task/git-clone/0.1/git-clone.yaml, .tekton/tasks/buildah.yaml, .tekton/tasks/yaml-lint.yaml, .tekton/tasks/e2e-test.yaml, task/sast-snyk-check/0.1/sast-snyk-check.yaml]" pipelinesascode.tekton.dev/task-2: "yaml-lint"