Skip to content

Commit

Permalink
Update Gosec workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 13, 2023
1 parent e076d25 commit c5658a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
go-version: ${{ steps.go_version.outputs.go_version }}
cache: true
- name: Install Gosec Security Scanner
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: "-exclude-dir=dashboard -exclude-dir=hack/genpkgs -exclude-dir=hack/pulumi -exclude-dir=internal/storage/persistence/ent/db -exclude-dir=internal/api/gen ./..."
run: gosec -exclude-dir=dashboard -exclude-dir=hack/ -exclude-dir=internal/api/gen -exclude-dir=internal/persistence/ent/db -exclude-dir=internal/persistence/ent/db ./...

0 comments on commit c5658a3

Please sign in to comment.