From ac740a4b84c4aef5fffeedc5864a13d769043dc3 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:38:03 -0600 Subject: [PATCH] exclude generate dir explicity (#10) Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- .buildkite/pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d9b900b..f0ba2f1 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -31,8 +31,9 @@ steps: key: "gosec" plugins: - docker#v5.11.0: - image: "securego/gosec:2.20.0" - command: ["-no-fail", "-exclude-generated", "-fmt sonarqube", "-out", "results.txt", "./..."] + image: "securego/gosec:latest" + always-pull: true + command: ["-no-fail", "-exclude-generated", "-exclude-dir=vanilla/_example/ent", "-fmt sonarqube", "-out", "results.txt", "./..."] environment: - "GOTOOLCHAIN=auto" artifact_paths: ["results.txt"]