From feaa6bd18d12d5522411e34dc17e12b262ac7058 Mon Sep 17 00:00:00 2001 From: Xin Jiang Date: Fri, 21 Jun 2024 13:26:45 +0800 Subject: [PATCH] filter out the .tekton and vendor from shellcheck --- .../pipelines/static-code-analysis.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.tekton/integration-tests/pipelines/static-code-analysis.yaml b/.tekton/integration-tests/pipelines/static-code-analysis.yaml index 81631871..e87282cb 100644 --- a/.tekton/integration-tests/pipelines/static-code-analysis.yaml +++ b/.tekton/integration-tests/pipelines/static-code-analysis.yaml @@ -58,13 +58,17 @@ spec: resolver: git params: - name: url - value: https://github.com/konflux-qe-incubator/konflux-qe-definitions.git + value: https://github.com/xinredhat/konflux-qe-definitions.git - name: revision - value: main + value: shellcheck_exclude_dirs - name: pathInRepo value: common/tasks/linters/shellcheck/shellcheck.yaml params: - name: git-url value: "$(tasks.test-metadata.results.git-url)" - name: git-revision - value: "$(tasks.test-metadata.results.git-revision)" \ No newline at end of file + value: "$(tasks.test-metadata.results.git-revision)" + - name: exclude_dirs + value: + - "vendor" + - ".tekton" \ No newline at end of file