Skip to content

Commit

Permalink
Run gosec if only go files are modified
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Nov 28, 2021
1 parent 06d9b6d commit 7c2b30c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v3
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- name: Run Gosec Security Scanner
uses: informalsystems/gosec@master
with:
args: ./...
if: "env.GIT_DIFF != ''"

0 comments on commit 7c2b30c

Please sign in to comment.