Skip to content

Commit

Permalink
Add exclude-dirs gardener,hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostov6 committed Nov 13, 2024
1 parent a0c13da commit e3d7836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ format: $(GOIMPORTS) $(GOIMPORTSREVISER)

.PHONY: sast
sast: $(GOSEC)
@bash $(GARDENER_HACK_DIR)/sast.sh
@bash $(GARDENER_HACK_DIR)/sast.sh --exclude-dirs gardener,hack

.PHONY: sast-report
sast-report: $(GOSEC)
@bash $(GARDENER_HACK_DIR)/sast.sh --gosec-report true --report-dir $(REPO_ROOT)
@bash $(GARDENER_HACK_DIR)/sast.sh --exclude-dirs gardener,hack --gosec-report true --report-dir $(REPO_ROOT)

.PHONY: test
test:
Expand Down

0 comments on commit e3d7836

Please sign in to comment.