Skip to content

Commit

Permalink
ci: exclude generated files from gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
subnova committed Aug 11, 2023
1 parent 8507751 commit a7f1aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...
gosec -exclude-generated ./...
- name: Test & Coverage
run: |
go test ./... -coverprofile=coverage.out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec ./...
gosec -exclude-generated ./...
- name: Test & Coverage
run: |
go test ./... -coverprofile=coverage.out
Expand Down

0 comments on commit a7f1aae

Please sign in to comment.