Skip to content

Commit

Permalink
exclude generate dir explicity (#10)
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade authored Sep 3, 2024
1 parent 9dcd428 commit ac740a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit ac740a4

Please sign in to comment.