diff --git a/.tekton/doc-build.yaml b/.tekton/doc-build.yaml index e25b4c1..51b4f5a 100644 --- a/.tekton/doc-build.yaml +++ b/.tekton/doc-build.yaml @@ -8,15 +8,16 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "10" pipelinesascode.tekton.dev/on-cel-expression: |- ( - event == "push" && ( - source_branch.matches("^(main|master|release-.*)$") || - target_branch.matches("^(main|master|release-.*)$") + event == "push" && + !last_commit_title.contains("ci skip") && ( + source_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$") || + target_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$") ) ) spec: timeouts: - pipeline: 2h - tasks: 2h + pipeline: 8h + tasks: 6h params: - name: doc-base diff --git a/.tekton/doc-pr-build.yaml b/.tekton/doc-pr-build.yaml index 5f1cf75..7bcb657 100644 --- a/.tekton/doc-pr-build.yaml +++ b/.tekton/doc-pr-build.yaml @@ -9,7 +9,7 @@ metadata: pipelinesascode.tekton.dev/on-cel-expression: |- ( event == "pull_request" && ( - target_branch.matches("^(main|master|release-.*)$") + target_branch.matches("^(main|master|release-v?[0-9]+([.][0-9]+)+)$") ) ) spec: